]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR tree-optimization/14784 ([Tree-ssa] alias analysis deficiency)
authorZdenek Dvorak <dvorakz@suse.cz>
Tue, 5 Dec 2006 18:26:20 +0000 (19:26 +0100)
committerZdenek Dvorak <rakdver@gcc.gnu.org>
Tue, 5 Dec 2006 18:26:20 +0000 (18:26 +0000)
PR tree-optimization/14784
* tree-ssa-operands.c (access_can_touch_variable): Unrevert the fix.

From-SVN: r119549

gcc/ChangeLog
gcc/tree-ssa-operands.c

index 5d432ceabc3cff717244d358e788e09a35a0bebf..25db35242d198481eee02de2571bbf562b1a841c 100644 (file)
@@ -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.
index 05876846a35d2ef52ff81c543000878fe13d3111..3cdc48a9b909e94340ee579535c0693b751a4765 100644 (file)
@@ -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))