aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2022-02-09 10:10:45 -0500
committerDavid Edelsohn <dje.gcc@gmail.com>2022-02-09 15:03:53 -0500
commitf0caa45aa7adacf4c0f1ca76a886028a5b54d1b3 (patch)
tree6cc9511556232631be2a176146599b17b540b756 /gcc
parent354349e7d59323559d0e372484f10358bd86a54f (diff)
downloadgcc-f0caa45aa7adacf4c0f1ca76a886028a5b54d1b3.zip
gcc-f0caa45aa7adacf4c0f1ca76a886028a5b54d1b3.tar.gz
gcc-f0caa45aa7adacf4c0f1ca76a886028a5b54d1b3.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/Wstringop-overflow-69.c2
-rw-r--r--gcc/testsuite/gcc.dg/loop-unswitch-6.c3
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 754b481..be361fe 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 f70b629..36dc31a 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;