From: David Edelsohn Date: Wed, 9 Feb 2022 15:10:45 +0000 (-0500) Subject: testsuite: AIX fixes X-Git-Tag: basepoints/gcc-13~1163 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0caa45aa7adacf4c0f1ca76a886028a5b54d1b3;p=thirdparty%2Fgcc.git testsuite: AIX fixes gcc/testsuite/ChangeLog: * gcc.dg/Wstringop-overflow-69.c: Add -Wno-psabi. * gcc.dg/loop-unswitch-6.c: Omit -fcompare-debug on AIX. --- diff --git a/gcc/testsuite/gcc.dg/Wstringop-overflow-69.c b/gcc/testsuite/gcc.dg/Wstringop-overflow-69.c index 754b481d6cdf..be361fe620d3 100644 --- a/gcc/testsuite/gcc.dg/Wstringop-overflow-69.c +++ b/gcc/testsuite/gcc.dg/Wstringop-overflow-69.c @@ -2,7 +2,7 @@ a larger scalar into a smaller array Verify overflow by vector stores. { dg-do compile } - { dg-options "-O2" } */ + { dg-options "-O2 -Wno-psabi" } */ #define V(N) __attribute__ ((vector_size (N))) #define C1 (VC1){ 0 } diff --git a/gcc/testsuite/gcc.dg/loop-unswitch-6.c b/gcc/testsuite/gcc.dg/loop-unswitch-6.c index f70b629e0542..36dc31ac5122 100644 --- a/gcc/testsuite/gcc.dg/loop-unswitch-6.c +++ b/gcc/testsuite/gcc.dg/loop-unswitch-6.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -funswitch-loops -g -fcompare-debug -fdump-tree-unswitch-details" } */ +/* { dg-options "-O2 -funswitch-loops -g -fdump-tree-unswitch-details" } */ +/* { dg-additional-options "-fcompare-debug" { target { ! powerpc-ibm-aix* } } } */ short a, d; int b, c;