From f317df4f6d6006ed22cff09d17bc5028fda69965 Mon Sep 17 00:00:00 2001 From: Kyrylo Tkachov Date: Thu, 19 Dec 2013 10:33:15 +0000 Subject: [PATCH] ef_error.c: Add fopenmp effective target check. 2013-12-19 Kyrylo Tkachov * c-c++-common/cilk-plus/SE/ef_error.c: Add fopenmp effective target check. From-SVN: r206109 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/c-c++-common/cilk-plus/SE/ef_error.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2ba0cbf..b5100b7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-12-19 Kyrylo Tkachov + + * c-c++-common/cilk-plus/SE/ef_error.c: Add fopenmp effective + target check. + 2013-12-18 Steven G. Kargl * gfortran.dg/io_err_1.f90: New test. 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)))) -- 2.7.4