re PR tree-optimization/41454 (DOM miscompiles gcc.c-torture/execute/990513-1.c at...
commit87c93592d00d2e6502dc89603fe9e236eb0c66a5
authorMichael Matz <matz@suse.de>
Fri, 25 Sep 2009 23:57:01 +0000 (25 23:57 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Fri, 25 Sep 2009 23:57:01 +0000 (25 23:57 +0000)
tree98636101aa1098a974f5a35fb373a9c5fed448d8
parent7653f2738f8f2c8a1a0bf3f60d09fb0b99205458
re PR tree-optimization/41454 (DOM miscompiles gcc.c-torture/execute/990513-1.c at -O2 -fno-tree-vrp)

PR tree-optimization/41454
* tree-ssa-dom (stmts_to_rescan): Remove variable.
(tree_ssa_dominator_optimize): Don't allocate and free it.
(dom_opt_leave_block): Don't iterate over it.
(eliminate_redundant_computations): Don't return a value.
(cprop_operand, cprop_into_stmt): Ditto.
(optimize_stmt): Don't defer updating stmts.

testsuite/
* gcc.dg/pr41454.c: New test.

From-SVN: r152189
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr41454.c [new file with mode: 0644]
gcc/tree-ssa-dom.c