aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorZdenek Dvorak <dvorakz@suse.cz>2006-12-05 19:26:20 +0100
committerZdenek Dvorak <rakdver@gcc.gnu.org>2006-12-05 18:26:20 +0000
commitc1ac94fbe900aed88c60ffcbf8eac80c54f3f95e (patch)
tree520594a735905c84b9bc9dad97f410a2ff95d58c /gcc
parentd5733d10bddcda17c52683973bc01f289951383d (diff)
downloadgcc-c1ac94fbe900aed88c60ffcbf8eac80c54f3f95e.zip
gcc-c1ac94fbe900aed88c60ffcbf8eac80c54f3f95e.tar.gz
gcc-c1ac94fbe900aed88c60ffcbf8eac80c54f3f95e.tar.bz2
re PR tree-optimization/14784 ([Tree-ssa] alias analysis deficiency)
PR tree-optimization/14784 * tree-ssa-operands.c (access_can_touch_variable): Unrevert the fix. From-SVN: r119549
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-ssa-operands.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5d432ce..25db352 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-12-05 Zdenek Dvorak <dvorakz@suse.cz>
+
+ PR tree-optimization/14784
+ * tree-ssa-operands.c (access_can_touch_variable): Unrevert the fix.
+
2006-12-05 Aldy Hernandez <aldyh@redhat.com>
Merge from gimple-tuples-branch.
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c
index 0587684..3cdc48a 100644
--- a/gcc/tree-ssa-operands.c
+++ b/gcc/tree-ssa-operands.c
@@ -1153,12 +1153,7 @@ access_can_touch_variable (tree ref, tree alias, HOST_WIDE_INT offset,
|| TREE_CODE (TREE_TYPE (base)) != UNION_TYPE)
&& !AGGREGATE_TYPE_P (TREE_TYPE (alias))
&& TREE_CODE (TREE_TYPE (alias)) != COMPLEX_TYPE
-#if 0
- /* FIXME: PR tree-optimization/29680. */
&& !var_ann (alias)->is_heapvar
-#else
- && !POINTER_TYPE_P (TREE_TYPE (alias))
-#endif
/* When the struct has may_alias attached to it, we need not to
return true. */
&& get_alias_set (base))