aboutsummaryrefslogtreecommitdiff
path: root/gcc/lra.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2014-11-11 05:11:09 +0000
committerAndi Kleen <ak@gcc.gnu.org>2014-11-11 05:11:09 +0000
commit14f68c3965a2ceb64228341bb5769155b1eb2e13 (patch)
treea73789fd2207b78d7d1e3be7c1f09c1b415ce99d /gcc/lra.c
parente5e442524724592b9f6e969354ba33c4f20f6ab2 (diff)
downloadgcc-14f68c3965a2ceb64228341bb5769155b1eb2e13.zip
gcc-14f68c3965a2ceb64228341bb5769155b1eb2e13.tar.gz
gcc-14f68c3965a2ceb64228341bb5769155b1eb2e13.tar.bz2
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 'gcc/lra.c')
0 files changed, 0 insertions, 0 deletions