Message ID | or8s60zkff.fsf@lxoliva.fsfla.org |
---|---|
State | New |
Headers | show |
Series | silence expected psabi warning in ipa-sra-19 on ppc-vxworks | expand |
On Fri, Apr 02, 2021 at 02:05:24PM -0300, Alexandre Oliva wrote: > The default CPU for our ppc-vx7r2 toolchain has no support for altivec > or vsx, so an ABI without vector support is selected. The selected > calling conventions do not cover passing or returning vector types, so > -Wpsabi warns about such uses. > > powerpc-ibm-aix* already silences these warnings with -Wno-psabi; > this patch extends that to powerpc-wrs-vxworks* too. Okay for trunk. Thanks! Segher > * gcc.dg/ipa/ipa-sra-19.c: Extend -Wno-psabi to ppc-vx7r2.
diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c b/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c index 8f3bb5df21a1f..c34c89eeacad7 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O2" } */ /* { dg-additional-options "-msse2" { target ia32 } } */ -/* { dg-additional-options "-Wno-psabi" { target powerpc-ibm-aix* } } */ +/* { dg-additional-options "-Wno-psabi" { target powerpc-ibm-aix* powerpc-wrs-vxworks* } } */ typedef int __attribute__((__vector_size__(16))) vectype;