2012-03-22 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Mar 2012 13:14:54 +0000 (13:14 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Mar 2012 13:14:54 +0000 (13:14 +0000)
commit3fd927c9e8d37f3bfa26b6b4dc85f9e0b57cb2c6
treefae650def4a7a28004b38754200328a15d3aac87
parent2d01d7d124d08042e59a1e6cf21772bf84eb46e5
2012-03-22  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52548
* tree-ssa-pre.c (valid_in_sets): Remove handling of invalidation
because of clobbers.
(prune_clobbered_mems): New function.
(compute_antic_aux): Use it to prune ANTIC_OUT.
(compute_partial_antic_aux): Use it to prune PA_IN.
(compute_avail): Only insert expressions into EXP_GEN that
are not invalidated when translated up to the beginning of
the block.

* gcc.dg/tree-ssa/ssa-pre-29.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185691 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-29.c [new file with mode: 0644]
gcc/tree-ssa-pre.c