diff options
author | Richard Guenther <rguenther@suse.de> | 2012-09-06 14:47:42 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-09-06 14:47:42 +0000 |
commit | 511c229c6caf013aaafca49535d4c82522d289e3 (patch) | |
tree | 115758a04c3bdab6ee264374fe7b3e672dd0650a /gcc/tree-ssa-alias.h | |
parent | 81a14f1e73f545848cdd03fc568390a419686044 (diff) | |
download | gcc-511c229c6caf013aaafca49535d4c82522d289e3.zip gcc-511c229c6caf013aaafca49535d4c82522d289e3.tar.gz gcc-511c229c6caf013aaafca49535d4c82522d289e3.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-ssa-alias.h')
-rw-r--r-- | gcc/tree-ssa-alias.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-alias.h b/gcc/tree-ssa-alias.h index cdff381..6f38f20 100644 --- a/gcc/tree-ssa-alias.h +++ b/gcc/tree-ssa-alias.h @@ -108,7 +108,7 @@ extern bool stmt_may_clobber_ref_p_1 (gimple, ao_ref *); extern bool call_may_clobber_ref_p (gimple, tree); extern bool stmt_kills_ref_p (gimple, tree); extern tree get_continuation_for_phi (gimple, ao_ref *, - unsigned int *, bitmap *); + unsigned int *, bitmap *, bool); extern void *walk_non_aliased_vuses (ao_ref *, tree, void *(*)(ao_ref *, tree, unsigned int, void *), |