tree-ssa-structalias.c (handle_ptr_arith): Return false when we can't handle the pointer arithmetic.

2006-12-12  Daniel Berlin  <dberlin@dberlin.org>

	* tree-ssa-structalias.c (handle_ptr_arith): Return false when we
	can't handle the pointer arithmetic.

From-SVN: r119791
This commit is contained in:
Daniel Berlin
2006-12-12 15:31:26 +00:00
committed by Daniel Berlin
parent 779019894c
commit 275d82e0ee
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2006-12-12 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-structalias.c (handle_ptr_arith): Return false when we
can't handle the pointer arithmetic.
2006-12-12 Jakub Jelinek <jakub@redhat.com>
PR libstdc++/11953

View File

@@ -3303,7 +3303,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++)
for (j = 0; VEC_iterate (ce_s, temp, j, c2); j++)