aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-12-24 05:35:46 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-12-24 05:35:46 -0500
commit792089b33e9b1f83b869b62bbcaacb99f9200d2d (patch)
tree6649c2e333b95541335e9af30843299a1702e2cc
parent2f95ebc26b29e6ed174efe1d009749986becb668 (diff)
downloadgcc-792089b33e9b1f83b869b62bbcaacb99f9200d2d.zip
gcc-792089b33e9b1f83b869b62bbcaacb99f9200d2d.tar.gz
gcc-792089b33e9b1f83b869b62bbcaacb99f9200d2d.tar.bz2
(pop_init_level): Don't abort if have incomplete array type inside
some other type. From-SVN: r6295
-rw-r--r--gcc/c-typeck.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index dbcd8e2..28dd281 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -5374,11 +5374,6 @@ pop_init_level (implicit)
TYPE_DOMAIN (constructor_type) = build_index_type (maxindex);
TREE_TYPE (maxindex) = TYPE_DOMAIN (constructor_type);
- /* We shouldn't have an incomplete array type within
- some other type. */
- if (constructor_stack->next)
- abort ();
-
if (pedantic
&& tree_int_cst_lt (TYPE_MAX_VALUE (TYPE_DOMAIN (constructor_type)),
integer_zero_node))