aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-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;