diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2005-02-22 02:27:37 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2005-02-22 02:27:37 +0000 |
commit | bb2e1640492f6b6989131cef45519dfd47a1acbb (patch) | |
tree | e53536f3c19ce30de20e9fb83251734c20e5e305 /gcc/tree-ssa-alias.c | |
parent | 1d27fed446abb6a831261c004803cf23d994b296 (diff) | |
download | gcc-bb2e1640492f6b6989131cef45519dfd47a1acbb.zip gcc-bb2e1640492f6b6989131cef45519dfd47a1acbb.tar.gz gcc-bb2e1640492f6b6989131cef45519dfd47a1acbb.tar.bz2 |
re PR tree-optimization/19786 (Aliasing optimisation bug)
gcc/ChangeLog:
PR tree-optimization/19786
* tree-ssa-alias.c (compute_flow_insensitive_aliasing): Add one
tag to another's may-alias bitmap when adding to the other's list.
gcc/testsuite/ChangeLog:
PR tree-optimization/19786
* g++.dg/tree-ssa/pr19786.C: New.
From-SVN: r95377
Diffstat (limited to 'gcc/tree-ssa-alias.c')
-rw-r--r-- | gcc/tree-ssa-alias.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index 3e5f8e3..bfa1685 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -1116,6 +1116,7 @@ compute_flow_insensitive_aliasing (struct alias_info *ai) /* Since TAG2 does not have any aliases of its own, add TAG2 itself to the alias set of TAG1. */ add_may_alias (tag1, tag2); + SET_BIT (may_aliases1, var_ann (tag2)->uid); } } } |