From 20e5a991023756b6cdae5582df1f7f704e664136 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 1 Jul 1994 17:41:55 -0400 Subject: [PATCH] Update last change. From-SVN: r7636 --- gcc/c-typeck.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index c7f7d486a3b..d5283c6982b 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; } -- 2.30.2