testsuite: AIX fixes
authorDavid Edelsohn <dje.gcc@gmail.com>
Wed, 9 Feb 2022 15:10:45 +0000 (10:10 -0500)
committerDavid Edelsohn <dje.gcc@gmail.com>
Wed, 9 Feb 2022 20:03:53 +0000 (15:03 -0500)
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
gcc/testsuite/gcc.dg/loop-unswitch-6.c

index 754b481d6cdf7dc8ce4b4f9cdac2141a0abbe086..be361fe620d34bc610a98bf1edf7f6c04dd262ad 100644 (file)
@@ -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 }
index f70b629e0542278b1a4b026b5d7d4211582c4769..36dc31ac51221e5c40a6a9ba887ac5c13e57c260 100644 (file)
@@ -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;