r210680 - in /branches/gcc-4_9-branch/gcc: cp/C...

kyukhin@gcc.gnu.org kyukhin@gcc.gnu.org
Wed May 21 08:05:00 GMT 2014


Author: kyukhin
Date: Wed May 21 08:05:42 2014
New Revision: 210680

URL: http://gcc.gnu.org/viewcvs?rev=210680&root=gcc&view=rev
Log:
gcc/cp
	PR c/60189
	* parser.c (cp_parser_postfix_expression): Move handling of cilk_sync
	from here to...
	(cp_parser_statement): ...here. Make sure only semicolon can go after
	Cilk_sync.

gcc/testsuite
	PR c++/60189
	* c-c++-common/cilk-plus/CK/invalid_sync.cc: New test.



Added:
    branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/cilk-plus/CK/invalid_sync.cc
Modified:
    branches/gcc-4_9-branch/gcc/cp/ChangeLog
    branches/gcc-4_9-branch/gcc/cp/parser.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list