diff options
author | Andi Kleen <ak@linux.intel.com> | 2014-11-11 05:11:09 +0000 |
---|---|---|
committer | Andi Kleen <ak@gcc.gnu.org> | 2014-11-11 05:11:09 +0000 |
commit | 14f68c3965a2ceb64228341bb5769155b1eb2e13 (patch) | |
tree | a73789fd2207b78d7d1e3be7c1f09c1b415ce99d /contrib/download_prerequisites | |
parent | e5e442524724592b9f6e969354ba33c4f20f6ab2 (diff) | |
download | gcc-14f68c3965a2ceb64228341bb5769155b1eb2e13.tar.gz |
Add illegal cilk checks to C++ front.
Add calls for several illegal Cilk cases to the C++ frontend.
C++ usually doesn't ICE unlike C on illegal cilk, but it's
better to match C in what is allowed and what is not.
if (_Cilk_spawn ...) is still not errored, but at least it doesn't ICE.
gcc/cp/:
2014-11-10 Andi Kleen <ak@linux.intel.com>
* semantics.c (finish_goto_stmt): Call check_no_cilk.
(finish_while_stmt_cond): Dito.
(finish_do_stmt): Dito.
(finish_for_cond): Dito.
(finish_switch_cond): Dito.
From-SVN: r217337
Diffstat (limited to 'contrib/download_prerequisites')
0 files changed, 0 insertions, 0 deletions