This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][committed] Add fopenmp effective target check to c-c++-common/cilk-plus/SE/ef_error.c
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, "Iyer, Balaji V" <balaji dot v dot iyer at intel dot com>
- Date: Thu, 19 Dec 2013 17:34:04 +0100
- Subject: Re: [PATCH][committed] Add fopenmp effective target check to c-c++-common/cilk-plus/SE/ef_error.c
- Authentication-results: sourceware.org; auth=none
- References: <52B2CB89 dot 2080200 at arm dot com> <20131219103539 dot GQ892 at tucnak dot redhat dot com> <52B31FD5 dot 9020602 at arm dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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