[gcc/devel/ranger] testsuite: Add -Wno-psabi option for ipa-sra-19.c on AIX.
Aldy Hernandez
aldyh@gcc.gnu.org
Wed Jun 17 20:46:08 GMT 2020
https://gcc.gnu.org/g:d15edd9dc1df4d5eff664a089e46b22a1f94328b
commit d15edd9dc1df4d5eff664a089e46b22a1f94328b
Author: David Edelsohn <dje.gcc@gmail.com>
Date: Sat Apr 25 19:27:14 2020 -0400
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.
Diff:
---
gcc/testsuite/ChangeLog | 4 ++++
gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c | 1 +
2 files changed, 5 insertions(+)
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9fa1faf3938..3a44abfb4c5 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+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.
diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c b/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c
index 681a303523a..8f3bb5df21a 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;
More information about the Gcc-cvs
mailing list