]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Require vectors of doubles for pr97428.c
authorMaciej W. Rozycki <macro@embecosm.com>
Tue, 11 Jul 2023 14:57:33 +0000 (15:57 +0100)
committerMaciej W. Rozycki <macro@embecosm.com>
Tue, 11 Jul 2023 14:57:33 +0000 (15:57 +0100)
The pr97428.c test assumes support for vectors of doubles, but some
targets only support vectors of floats, causing this test to fail with
such targets.  Limit this test to targets that support vectors of
doubles then.

gcc/testsuite/
* gcc.dg/vect/pr97428.c: Limit to `vect_double' targets.

gcc/testsuite/gcc.dg/vect/pr97428.c

index bbd743a76c40adaa6c50f7b60157ef68688bfa22..ad6416096aabe26124e6af155b2b285c37c25cfd 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target vect_double } */
 
 typedef struct { double re, im; } dcmlx_t;
 typedef struct { double re[4], im[4]; } dcmlx4_t;