diff options
author | Igor Zamyatin <igor.zamyatin@intel.com> | 2014-05-21 08:03:06 +0000 |
---|---|---|
committer | Kirill Yukhin <kyukhin@gcc.gnu.org> | 2014-05-21 08:03:06 +0000 |
commit | c3d96270fc4d1f16fbb905049e16cf39152c9baa (patch) | |
tree | 0e08ace796b1643576b572dcd7aa5793aff3bd73 /gcc/omp-low.c | |
parent | 3aaf05290aeed9682334510fa38886338b64ad73 (diff) | |
download | gcc-c3d96270fc4d1f16fbb905049e16cf39152c9baa.zip gcc-c3d96270fc4d1f16fbb905049e16cf39152c9baa.tar.gz gcc-c3d96270fc4d1f16fbb905049e16cf39152c9baa.tar.bz2 |
re PR c++/60189 (ICE with invalid use of _Cilk_sync)
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.
From-SVN: r210678
Diffstat (limited to 'gcc/omp-low.c')
0 files changed, 0 insertions, 0 deletions