aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2005-11-22 22:35:55 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2005-11-22 22:35:55 +0000
commit32961db5544aa29a66bfbd3c3af3c1a06ea170f4 (patch)
treeb5f90120871c1b1a2d70228173e9afdb40e9661d
parent74b146981cacdc322b9630bbd5bf0d5e7f840d13 (diff)
downloadgcc-32961db5544aa29a66bfbd3c3af3c1a06ea170f4.zip
gcc-32961db5544aa29a66bfbd3c3af3c1a06ea170f4.tar.gz
gcc-32961db5544aa29a66bfbd3c3af3c1a06ea170f4.tar.bz2
re PR middle-end/22561 (ACATS ca11c01 wrong code)
PR middle-end/22561 * tree-ssa-structalias.c (get_constraint_for): Handle ARRAY_RANGE_REF. From-SVN: r107377
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-ssa-structalias.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1eb4cd1..ddd01d8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-21 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR middle-end/22561
+ * tree-ssa-structalias.c (get_constraint_for): Handle ARRAY_RANGE_REF.
+
2005-11-22 Ian Lance Taylor <ian@airs.com>
* optabs.c (expand_unop): Call SCALAR_FLOAT_MODE_P on a mode, not
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index 128b142..34485d0 100644
--- a/gcc/tree-ssa-structalias.c
+++ b/gcc/tree-ssa-structalias.c
@@ -2285,6 +2285,7 @@ get_constraint_for (tree t, bool *need_anyoffset)
return temp;
}
case ARRAY_REF:
+ case ARRAY_RANGE_REF:
case COMPONENT_REF:
temp = get_constraint_for_component_ref (t, need_anyoffset);
return temp;