c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's type is RECORD_TYPE...
* c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's type is RECORD_TYPE, UNION_TYPE or ARRAY_TYPE thereof. (finish_struct): Break the loop if n_incomplete went to 0. For ARRAY_TYPE, if it is not TYPE_DECL, layout the decl too. * gcc.c-torture/compile/20011130-1.c: New test. From-SVN: r47671
Showing
Please
register
or
sign in
to comment