Message ID | 52B31FD5.9020602@arm.com |
---|---|
State | New |
Headers | show |
On Thu, Dec 19, 2013 at 04:33:25PM +0000, Kyrill Tkachov wrote: > Thanks for the hint, it now passes on bare metal arm. > Patch attached. Ok for trunk? Sure. > > Kyrill > > 2013-12-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com> > > * c-c++-common/cilk-plus/SE/ef_error.c: Use -fopen-simd. > --- 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,6 +1,5 @@ > /* { dg-do compile } */ > -/* { dg-options "-fcilkplus -fopenmp" } */ > -/* { dg-require-effective-target fopenmp } */ > +/* { dg-options "-fcilkplus -fopenmp-simd" } */ > > #pragma omp declare simd linear(y:1) simdlen(4) > __attribute__((vector (linear (y:1), vectorlength(4)))) Jakub
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 478bfa1..5312992 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,6 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-fcilkplus -fopenmp" } */ -/* { dg-require-effective-target fopenmp } */ +/* { dg-options "-fcilkplus -fopenmp-simd" } */ #pragma omp declare simd linear(y:1) simdlen(4) __attribute__((vector (linear (y:1), vectorlength(4))))