aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-07-01 17:41:55 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-07-01 17:41:55 -0400
commit20e5a991023756b6cdae5582df1f7f704e664136 (patch)
tree121d28271e4b208d614904561840786f576c4258 /gcc
parent81f415f0b0d6d6769d62f9615551c55104b774d5 (diff)
downloadgcc-20e5a991023756b6cdae5582df1f7f704e664136.zip
gcc-20e5a991023756b6cdae5582df1f7f704e664136.tar.gz
gcc-20e5a991023756b6cdae5582df1f7f704e664136.tar.bz2
Update last change.
From-SVN: r7636
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-typeck.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index c7f7d48..d5283c6 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -5222,7 +5222,8 @@ push_init_level (implicit)
{
constructor_type = TREE_TYPE (constructor_type);
push_array_bounds (TREE_INT_CST_LOW (constructor_index));
- if (! tree_int_cst_equal (constructor_index, constructor_unfilled_index))
+ if (! tree_int_cst_equal (constructor_index, constructor_unfilled_index)
+ || constructor_range_end != 0)
constructor_incremental = 0;
}