From f0caa45aa7adacf4c0f1ca76a886028a5b54d1b3 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 9 Feb 2022 10:10:45 -0500 Subject: [PATCH] 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. --- gcc/testsuite/gcc.dg/Wstringop-overflow-69.c | 2 +- gcc/testsuite/gcc.dg/loop-unswitch-6.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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; -- 2.47.2