ef_error.c: Add fopenmp effective target check.

2013-12-19  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

    * c-c++-common/cilk-plus/SE/ef_error.c: Add fopenmp effective
    target check.

From-SVN: r206109
This commit is contained in:
Kyrylo Tkachov 2013-12-19 10:33:15 +00:00 committed by Kyrylo Tkachov
parent 8409aed410
commit f317df4f6d
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-12-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* c-c++-common/cilk-plus/SE/ef_error.c: Add fopenmp effective
target check.
2013-12-18 Steven G. Kargl <kargl@gcc.gnu.org>
* gfortran.dg/io_err_1.f90: New test.

View File

@ -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))))