aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2020-04-25 19:27:14 -0400
committerDavid Edelsohn <dje.gcc@gmail.com>2020-04-25 19:29:24 -0400
commitd15edd9dc1df4d5eff664a089e46b22a1f94328b (patch)
tree28c1360614ba3102392b8e022c45bd6cd55f89af
parentbffdd2e8951102f9fe62a6702c48a9fbe1b23b35 (diff)
downloadgcc-d15edd9dc1df4d5eff664a089e46b22a1f94328b.zip
gcc-d15edd9dc1df4d5eff664a089e46b22a1f94328b.tar.gz
gcc-d15edd9dc1df4d5eff664a089e46b22a1f94328b.tar.bz2
testsuite: Add -Wno-psabi option for ipa-sra-19.c on AIX.
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.
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9fa1faf..3a44abf 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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>
diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c b/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c
index 681a303..8f3bb5d 100644
--- a/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c
+++ b/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c
@@ -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;