On Thu, Jul 6, 2023 at 11:37 PM Maciej W. Rozycki <ma...@embecosm.com> wrote: > > 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.
OK. > gcc/testsuite/ > * gcc.dg/vect/pr97428.c: Limit to `vect_double' targets. > --- > gcc/testsuite/gcc.dg/vect/pr97428.c | 1 + > 1 file changed, 1 insertion(+) > > gcc-test-pr97428-vect-double.diff > Index: gcc/gcc/testsuite/gcc.dg/vect/pr97428.c > =================================================================== > --- gcc.orig/gcc/testsuite/gcc.dg/vect/pr97428.c > +++ gcc/gcc/testsuite/gcc.dg/vect/pr97428.c > @@ -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;