Message ID | alpine.DEB.2.20.2307062204180.28892@tpp.orcam.me.uk |
---|---|
State | New |
Headers | show |
Series | testsuite: Exclude vector tests for unsupported targets | expand |
On Thu, Jul 6, 2023 at 11:37 PM Maciej W. Rozycki <macro@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;
On Fri, 7 Jul 2023, Richard Biener 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. Applied, thanks. OK to backport to the active branches? Maciej
On Tue, Jul 11, 2023 at 5:01 PM Maciej W. Rozycki <macro@embecosm.com> wrote: > > On Fri, 7 Jul 2023, Richard Biener 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. > > Applied, thanks. OK to backport to the active branches? Yes. > Maciej
On Wed, 12 Jul 2023, Richard Biener wrote: > > Applied, thanks. OK to backport to the active branches? > > Yes. Now backported, thanks. Maciej
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;