(pop_init_level): Don't abort if have incomplete array type inside
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Dec 1993 10:35:46 +0000 (10:35 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Dec 1993 10:35:46 +0000 (10:35 +0000)
some other type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6295 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/c-typeck.c

index dbcd8e2..28dd281 100644 (file)
@@ -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))