diff options
author | Richard Guenther <rguenther@suse.de> | 2012-03-22 13:14:54 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-03-22 13:14:54 +0000 |
commit | cd32bb90f4f3bf158c2b7e22749660ce85e8f619 (patch) | |
tree | fae650def4a7a28004b38754200328a15d3aac87 /libjava/classpath/lib/java | |
parent | 4b74f2b44da5f78d2621f5b7f1c6d774d6d498ac (diff) | |
download | gcc-cd32bb90f4f3bf158c2b7e22749660ce85e8f619.zip gcc-cd32bb90f4f3bf158c2b7e22749660ce85e8f619.tar.gz gcc-cd32bb90f4f3bf158c2b7e22749660ce85e8f619.tar.bz2 |
re PR tree-optimization/52548 (missed PRE optimization when function call follows to-be hoisted variable)
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.
From-SVN: r185691
Diffstat (limited to 'libjava/classpath/lib/java')
0 files changed, 0 insertions, 0 deletions