OSDN Git Service

2006-12-11 Daniel Berlin <dberlin@dberlin.org>
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Dec 2006 03:44:25 +0000 (03:44 +0000)
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Dec 2006 03:44:25 +0000 (03:44 +0000)
* tree-ssa-structalias.c (handle_ptr_arith): Return false when we
can't handle the pointer arithmetic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119763 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 5111278..44dea51 100644 (file)
@@ -1,3 +1,8 @@
+2006-12-11  Daniel Berlin  <dberlin@dberlin.org>
+
+       * tree-ssa-structalias.c (handle_ptr_arith): Return false when we
+       can't handle the pointer arithmetic.
+
 2006-12-11  Diego Novillo  <dnovillo@redhat.com>
 
        * doc/tree-ssa.texi: Update documentation for virtual operands
index 8ef4217..068972f 100644 (file)
@@ -2871,6 +2871,8 @@ handle_ptr_arith (VEC (ce_s, heap) *lhsc, tree expr)
     {
       rhsoffset = TREE_INT_CST_LOW (op1) * BITS_PER_UNIT;
     }
+  else
+    return false;
 
 
   for (i = 0; VEC_iterate (ce_s, lhsc, i, c); i++)