Hi!

On Fri, Sep 02, 2016 at 08:46:21PM +0200, Jakub Jelinek wrote:
>       * gcc.dg/gomp/_Atomic-4.c: New test.

Andreas noted in the PR the test fails on targets other than x86_64/i686.
That is because no other target yet provides the compute_vecsize_and_simdlen
target hook (basically, backend maintainers should agree on some ABI for
simd clones and implement those in the target hook).

So, I've committed following patch as obvious:

2016-09-03  Jakub Jelinek  <ja...@redhat.com>

        PR c/65467
        * gcc.dg/gomp/_Atomic-4.c: Require vect_simd_clones effective target.

--- gcc/testsuite/gcc.dg/gomp/_Atomic-4.c.jj    2016-09-02 20:36:22.000000000 
+0200
+++ gcc/testsuite/gcc.dg/gomp/_Atomic-4.c       2016-09-03 10:30:29.708581112 
+0200
@@ -1,6 +1,7 @@
 /* PR c/65467 */
 /* { dg-do compile } */
 /* { dg-additional-options "-std=c11" } */
+/* { dg-require-effective-target vect_simd_clones } */
 
 #pragma omp declare simd
 int


        Jakub

Reply via email to