Skip to content
Snippets Groups Projects
Commit 67c2939d authored by Joseph Myers's avatar Joseph Myers Committed by Joseph Myers
Browse files

re PR c/20402 (gcc.dg/noncompile/920923-1.c ICE)

	PR c/20402
	* c-parser.c (c_parser_struct_or_union_specifier): Don't fall
	through into call to parser_xref_tag after parse error.
	(c_parser_struct_declaration): Consistently return NULL_TREE on
	error.

testsuite:
	* gcc.dg/noncompile/920923-1.c: Detail expected diagnostics for
	new parser.

From-SVN: r96363
parent c75ab022
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment