re PR tree-optimization/54498 (incorrect code generation from g++ -O)
authorRichard Guenther <rguenther@suse.de>
Thu, 6 Sep 2012 14:47:42 +0000 (14:47 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 6 Sep 2012 14:47:42 +0000 (14:47 +0000)
commit511c229c6caf013aaafca49535d4c82522d289e3
tree115758a04c3bdab6ee264374fe7b3e672dd0650a
parent81a14f1e73f545848cdd03fc568390a419686044
re PR tree-optimization/54498 (incorrect code generation from g++ -O)

2012-09-06  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/54498
* tree-ssa-alias.h (get_continuation_for_phi): Add flag to
abort when reaching an already visited region.
* tree-ssa-alias.c (maybe_skip_until): Likewise.  And do it.
(get_continuation_for_phi_1): Likewise.
(walk_non_aliased_vuses): When we translated the reference,
abort when we re-visit a region.
* tree-ssa-pre.c (translate_vuse_through_block): Adjust.

From-SVN: r191030
gcc/ChangeLog
gcc/tree-ssa-alias.c
gcc/tree-ssa-alias.h
gcc/tree-ssa-pre.c