-
- Downloads
Fix PR45230, PR45231, and PR45370: fold_stmt_inplace after replace_exp.
2010-12-08 Richard Guenther <rguenther@suse.de>
Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/45230
PR tree-optimization/45231
PR tree-optimization/45370
* sese.c (rename_uses): Returns a bool. Call
recompute_tree_invariant_for_addr_expr only on the RHS of a
GIMPLE_ASSIGN.
(graphite_copy_stmts_from_block): Call fold_stmt_inplace when
rename_uses returns true.
* tree-ssa-copy.c (replace_exp): Add a comment about calling
fold_stmt_inplace after replace_exp.
* gcc.dg/graphite/id-pr45230-1.c: New.
* gcc.dg/graphite/id-pr45231.c: New.
* gfortran.dg/graphite/id-pr45370.f90: New.
Co-Authored-By:
Sebastian Pop <sebastian.pop@amd.com>
From-SVN: r167609
Showing
- gcc/ChangeLog 14 additions, 0 deletionsgcc/ChangeLog
- gcc/sese.c 11 additions, 6 deletionsgcc/sese.c
- gcc/testsuite/ChangeLog 10 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/graphite/id-pr45230-1.c 140 additions, 0 deletionsgcc/testsuite/gcc.dg/graphite/id-pr45230-1.c
- gcc/testsuite/gcc.dg/graphite/id-pr45231.c 37 additions, 0 deletionsgcc/testsuite/gcc.dg/graphite/id-pr45231.c
- gcc/testsuite/gfortran.dg/graphite/id-pr45370.f90 100 additions, 0 deletionsgcc/testsuite/gfortran.dg/graphite/id-pr45370.f90
- gcc/tree-ssa-copy.c 4 additions, 1 deletiongcc/tree-ssa-copy.c
Loading
Please register or sign in to comment