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

mpolacek@gcc.gnu.org mpolacek@gcc.gnu.org
Tue Apr 26 14:59:00 GMT 2016


Author: mpolacek
Date: Tue Apr 26 14:59:40 2016
New Revision: 235446

URL: https://gcc.gnu.org/viewcvs?rev=235446&root=gcc&view=rev
Log:
	PR c/67784
	* c-parser.c (c_parser_maybe_reclassify_token): New function factored
	out of ...
	(c_parser_for_statement): ... here.
	(c_parser_if_statement): Use it.
	(c_parser_switch_statement): Use it.
	(c_parser_while_statement): Use it.

	* gcc.dg/pr67784-3.c: New test.
	* gcc.dg/pr67784-4.c: New test.
	* gcc.dg/pr67784-5.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr67784-3.c
    trunk/gcc/testsuite/gcc.dg/pr67784-4.c
    trunk/gcc/testsuite/gcc.dg/pr67784-5.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-parser.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list