https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60189

--- Comment #4 from Kirill Yukhin <kyukhin at gcc dot gnu.org> ---
Author: kyukhin
Date: Wed May 21 08:03:06 2014
New Revision: 210678

URL: http://gcc.gnu.org/viewcvs?rev=210678&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.cÑ: New test.



Added:
    trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/invalid_sync.cc
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to