testsuite: Add -Wno-psabi option for ipa-sra-19.c on AIX.
authorDavid Edelsohn <dje.gcc@gmail.com>
Sat, 25 Apr 2020 23:27:14 +0000 (19:27 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sat, 25 Apr 2020 23:29:24 +0000 (19:29 -0400)
ipa-sra-19.c uses a vector type that elicits a non-standard ABI warning
on AIX causing a spurious testsuite failure.

        * gcc.dg/ipa/ipa-sra-19.c: Add -Wno-psabi option on AIX.

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c

index 9fa1faf..3a44abf 100644 (file)
@@ -1,5 +1,9 @@
 2020-04-25  David Edelsohn  <dje.gcc@gmail.com>
 
+       * gcc.dg/ipa/ipa-sra-19.c: Add -Wno-psabi option on AIX.
+
+2020-04-25  David Edelsohn  <dje.gcc@gmail.com>
+
        * gcc.dg/spellcheck-options-21.c: Require LTO.
 
 2020-04-25  David Edelsohn  <dje.gcc@gmail.com>
index 681a303..8f3bb5d 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O2"  } */
 /* { dg-additional-options "-msse2" { target ia32 } } */
+/* { dg-additional-options "-Wno-psabi" { target powerpc-ibm-aix* } } */
 
 typedef int __attribute__((__vector_size__(16))) vectype;