This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, testsuite]: Require vect_simd_clones effective target for c-c++-common/gomp/pr60823-2.c
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 25 Apr 2014 12:00:36 +0200
- Subject: Re: [PATCH, testsuite]: Require vect_simd_clones effective target for c-c++-common/gomp/pr60823-2.c
- Authentication-results: sourceware.org; auth=none
- References: <CAFULd4Y9UqKAxykYSye+52_P7ToM+fOtO566hD5LMFGk2Tv_WA at mail dot gmail dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Apr 25, 2014 at 11:51:06AM +0200, Uros Bizjak wrote:
> Hello!
>
> This is a runtime test, so check if we are able to at least compile the source.
>
> 2014-04-25 Uros Bizjak <ubizjak@gmail.com>
>
> * c-c++-common/gomp/pr60823-2.c: Require effective target
> vect_simd_clones.
>
> Tested on x86_64 CentOS 5.10.
>
> OK for mainline?
Ok, but please commit it to 4.9 as well.
> --- c-c++-common/gomp/pr60823-2.c (revision 209778)
> +++ c-c++-common/gomp/pr60823-2.c (working copy)
> @@ -1,5 +1,6 @@
> /* PR tree-optimization/60823 */
> /* { dg-do run } */
> +/* { dg-require-effective-target vect_simd_clones } */
> /* { dg-options "-O2 -fopenmp-simd" } */
>
> #pragma omp declare simd simdlen(4) notinbranch
Jakub