This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][committed] Add fopenmp effective target check to c-c++-common/cilk-plus/SE/ef_error.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]