Fix pr60510.f test on arm-linux-gnueabihf
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 7 Jul 2017 16:46:22 +0000 (16:46 +0000)
committerSzabolcs Nagy <nsz@gcc.gnu.org>
Fri, 7 Jul 2017 16:46:22 +0000 (16:46 +0000)
Only run the test if the target supports double precision vectorization.

gcc/testsuite/ChangeLog:

2017-07-07  Szabolcs Nagy  <szabolcs.nagy@arm.com>

* gfortran.dg/vect/pr60510.f: Require vect_double support.

From-SVN: r250053

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/vect/pr60510.f

index 73181db..b6f6f80 100644 (file)
@@ -1,3 +1,7 @@
+2017-07-07  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * gfortran.dg/vect/pr60510.f: Require vect_double support.
+
 2017-07-07  Carl Love  <cel@us.ibm.com>
 
        * gcc.target/powerpc/builtins-1-p9-runnable.c: Add new test
index 2d1b6a9..5e2c085 100644 (file)
@@ -1,4 +1,5 @@
 ! { dg-do run }
+! { dg-require-effective-target vect_double }
 ! { dg-additional-options "-fno-inline -ffast-math" }
       subroutine foo(a,x,y,n)
       implicit none