r238884 - in /trunk/gcc: c/ChangeLog c/c-parser...

mpolacek@gcc.gnu.org mpolacek@gcc.gnu.org
Fri Jul 29 17:34:00 GMT 2016


Author: mpolacek
Date: Fri Jul 29 17:34:55 2016
New Revision: 238884

URL: https://gcc.gnu.org/viewcvs?rev=238884&root=gcc&view=rev
Log:
	PR c/71853
	* c-parser.c (c_parser_switch_statement): Initialize ce.original_type
	to error node for invalid code.

	* gcc.dg/noncompile/pr71853.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/noncompile/pr71853.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-parser.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list