On Tue, 16 Mar 2021 at 18:38, Jakub Jelinek <ja...@redhat.com> wrote: > > On Tue, Mar 16, 2021 at 06:34:34PM +0100, Christophe Lyon wrote: > > On Sat, 13 Mar 2021 at 21:34, Jakub Jelinek via Gcc-patches > > Unfortunately, the last new warning does not happen when running the > > tests with -mabi=ilp32. > > Is that small patch OK? > > With a proper ChangeLog entry, sure. > Though perhaps it would be easier to do && lp64. Your choice.
Indeed, I'll do that. Thanks > > > diff --git a/gcc/testsuite/gcc.dg/declare-simd.c > > b/gcc/testsuite/gcc.dg/declare-simd.c > > index 52796f6..894fb64 100644 > > --- a/gcc/testsuite/gcc.dg/declare-simd.c > > +++ b/gcc/testsuite/gcc.dg/declare-simd.c > > @@ -3,7 +3,7 @@ > > > > #pragma omp declare simd linear (p2, p3) > > extern void fn2 (float p1, float *p2, float *p3); > > -/* { dg-warning "GCC does not currently support mixed size types for > > 'simd' functions" "" { target aarch64*-*-* } .-1 } */ > > +/* { dg-warning "GCC does not currently support mixed size types for > > 'simd' functions" "" { target { { aarch64*-*-* } && { ! ilp32 } } } > > .-1 } */ > > > > float *a, *b; > > void fn1 (float *p1) > > Jakub >