summaryrefslogtreecommitdiffstats
path: root/gcc/alloc-pool.h
diff options
context:
space:
mode:
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-06 13:41:46 +0000
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-06 13:41:46 +0000
commit3bfdc94f566983f2cc40dca1fca9925a8175f0da (patch)
tree2d668c3e9bd8ebb785bab61a9adb5b1d97776036 /gcc/alloc-pool.h
parentec5f5503d57404e3c4c264cf56d9e87861da3ec1 (diff)
downloadppe42-gcc-3bfdc94f566983f2cc40dca1fca9925a8175f0da.tar.gz
ppe42-gcc-3bfdc94f566983f2cc40dca1fca9925a8175f0da.zip
PR c/60197
c-family/ * cilk.c (contains_cilk_spawn_stmt): New function. (contains_cilk_spawn_stmt_walker): Likewise. (recognize_spawn): Give error on invalid use of _Cilk_spawn. * c-common.h (contains_cilk_spawn_stmt): Add declaration. c/ * c-typeck.c (c_finish_return): Call contains_cilk_spawn_stmt instead of checking tree code. cp/ * typeck.c (check_return_expr): Call contains_cilk_spawn_stmt instead of checking tree code. testsuite/ * c-c++-common/cilk-plus/CK/pr60197.c: New test. * c-c++-common/cilk-plus/CK/pr60197-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208382 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alloc-pool.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud