[gcc r12-7150] testsuite: AIX fixes

David Edelsohn dje@gcc.gnu.org
Wed Feb 9 20:05:38 GMT 2022


https://gcc.gnu.org/g:f0caa45aa7adacf4c0f1ca76a886028a5b54d1b3

commit r12-7150-gf0caa45aa7adacf4c0f1ca76a886028a5b54d1b3
Author: David Edelsohn <dje.gcc@gmail.com>
Date:   Wed Feb 9 10:10:45 2022 -0500

    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:
---
 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 754b481d6cd..be361fe620d 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 f70b629e054..36dc31ac512 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;


More information about the Gcc-cvs mailing list