* c-tree.h (C_TYPE_INCOMPLETE_VARS): New macro.
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 30 Aug 2003 21:21:40 +0000 (21:21 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 30 Aug 2003 21:21:40 +0000 (21:21 +0000)
commit3e0a85c235ce6d2a16deb77694f50b02cd735351
treecdce6115b5f67f736d2426ccd24c4fa2c238f753
parent4d18cf6fecb88fd80dfca215a926f7c01df6668e
* c-tree.h (C_TYPE_INCOMPLETE_VARS): New macro.
* c-decl.c (struct c_scope): Remove "incomplete" field.
(pushdecl): Attach variables with incomplete types to
the TYPE_MAIN_VARIANT of the incomplete type in question.
(finish_struct): Look at C_TYPE_INCOMPLETE_VARS for variables
to complete, not at current_scope->incomplete.  All such
variables do need completion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70952 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c
gcc/c-tree.h