* g++.dg/cilk-plus/CK/pr66326.cc: Do not include cilk.h.
(main): Use _Cilk_spawn instead of cilk_spawn.
From-SVN: r230048
+2015-11-09 Uros Bizjak <ubizjak@gmail.com>
+
+ * g++.dg/cilk-plus/CK/pr66326.cc: Do not include cilk.h.
+ (main): Use _Cilk_spawn instead of cilk_spawn.
+
2015-11-09 Thomas Schwinge <thomas@codesourcery.com>
* gcc.target/i386/addr-space-3.c: Fix quoting in dg-final
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-fcilkplus -lcilkrts" { target { i?86-*-* x86_64-*-* } } } */
-#include <cilk/cilk.h>
#include <vector>
#include <random>
int main() {
std::vector<double> v1, v2, v3;
- cilk_spawn [&] { v1 = compute(); }();
- cilk_spawn [&] { v2 = compute(); }();
+ _Cilk_spawn [&] { v1 = compute(); }();
+ _Cilk_spawn [&] { v2 = compute(); }();
v3 = compute();
do_not_optimize_away(v1.data());
do_not_optimize_away(v2.data());