Hi all,The recently added c-c++-common/cilk-plus/SE/ef_error.c test needs an effective target check for fopenmp, otherwise it will fail to compile on targets that don't support openmp, for example the bare metal arm-none-eabi.
I've committed the attached patch to fix that as r206109. Thanks, Kyrill 2013-12-19 Kyrylo Tkachov <kyrylo.tkac...@arm.com> * c-c++-common/cilk-plus/SE/ef_error.c: Add fopenmp effective target check.
diff --git a/gcc/testsuite/c-c++-common/cilk-plus/SE/ef_error.c b/gcc/testsuite/c-c++-common/cilk-plus/SE/ef_error.c index 6a4b4a4..478bfa1 100644 --- a/gcc/testsuite/c-c++-common/cilk-plus/SE/ef_error.c +++ b/gcc/testsuite/c-c++-common/cilk-plus/SE/ef_error.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-fcilkplus -fopenmp" } */ +/* { dg-require-effective-target fopenmp } */ #pragma omp declare simd linear(y:1) simdlen(4) __attribute__((vector (linear (y:1), vectorlength(4))))