From d15edd9dc1df4d5eff664a089e46b22a1f94328b Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sat, 25 Apr 2020 19:27:14 -0400 Subject: [PATCH] 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. --- 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 + + * gcc.dg/ipa/ipa-sra-19.c: Add -Wno-psabi option on AIX. + 2020-04-25 David Edelsohn * 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; -- 2.30.2