https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60189
--- Comment #5 from Kirill Yukhin <kyukhin at gcc dot gnu.org> --- 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