aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-structalias.c
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2006-12-12 03:44:25 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2006-12-12 03:44:25 +0000
commit864abd46caa11641fe0588e31d1e19135c29f476 (patch)
treebed8a46892c71f500ad44d9516591430346982cb /gcc/tree-ssa-structalias.c
parent38635499e9c759fc039e669acfabc80f4f65dffb (diff)
downloadgcc-864abd46caa11641fe0588e31d1e19135c29f476.zip
gcc-864abd46caa11641fe0588e31d1e19135c29f476.tar.gz
gcc-864abd46caa11641fe0588e31d1e19135c29f476.tar.bz2
tree-ssa-structalias.c (handle_ptr_arith): Return false when we can't handle the pointer arithmetic.
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. From-SVN: r119763
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r--gcc/tree-ssa-structalias.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index 8ef4217..068972f 100644
--- a/gcc/tree-ssa-structalias.c
+++ b/gcc/tree-ssa-structalias.c
@@ -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++)