This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi
This is a case of checking for 'error_mark_node' in 'pushtag'. 'maybe_process_template_type_declaration' may return 'error_mark_node' which should not be pushed into the scope in later pushdecl_* functons. However, we cannot return immediately as the caller will use the type node for further processing. So we need to keep the type node consistent by setting its TYPE_STUB_DECL.
Tested on i686-pc-linux-gnu. OK for the mainline and 3.4 (after 3.4.3 is released)?
-- Mark Mitchell CodeSourcery, LLC (916) 791-8304 mark@codesourcery.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |