From: David Edelsohn Date: Fri, 6 Sep 2019 15:24:28 +0000 (+0000) Subject: Warray-bounds-4.C: Skip AIX. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=613d4e784c23fbf5ae6e3132fd4d0150545681c1;p=gcc.git Warray-bounds-4.C: Skip AIX. * g++.dg/warn/Warray-bounds-4.C: Skip AIX. * g++.dg/warn/Warray-bounds-8.C: Skip AIX. * g++.dg/opt/flifetime-dse2.C: XFAIL AIX. * g++.dg/opt/flifetime-dse4.C: XFAIL AIX. From-SVN: r275462 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9de41ea0c29..f206218b0b4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-09-06 David Edelsohn + + * g++.dg/warn/Warray-bounds-4.C: Skip AIX. + * g++.dg/warn/Warray-bounds-8.C: Skip AIX. + * g++.dg/opt/flifetime-dse2.C: XFAIL AIX. + * g++.dg/opt/flifetime-dse4.C: XFAIL AIX. + 2019-09-06 Caroline Tice PR testsuite/91670 diff --git a/gcc/testsuite/g++.dg/opt/flifetime-dse2.C b/gcc/testsuite/g++.dg/opt/flifetime-dse2.C index 16d9a748781..5f78bc999a2 100644 --- a/gcc/testsuite/g++.dg/opt/flifetime-dse2.C +++ b/gcc/testsuite/g++.dg/opt/flifetime-dse2.C @@ -1,5 +1,6 @@ // { dg-options "-O3 -flifetime-dse" } // { dg-do run } +// { dg-xfail-run-if "AIX operator new" { powerpc-ibm-aix* } } typedef __SIZE_TYPE__ size_t; inline void * operator new (size_t, void *p) { return p; } diff --git a/gcc/testsuite/g++.dg/opt/flifetime-dse4.C b/gcc/testsuite/g++.dg/opt/flifetime-dse4.C index c72444a6d65..4a6fe571ef4 100644 --- a/gcc/testsuite/g++.dg/opt/flifetime-dse4.C +++ b/gcc/testsuite/g++.dg/opt/flifetime-dse4.C @@ -1,5 +1,6 @@ // { dg-options "-O3 -flifetime-dse=1" } // { dg-do run } +// { dg-xfail-run-if "AIX operator new" { powerpc-ibm-aix* } } typedef __SIZE_TYPE__ size_t; inline void * operator new (size_t, void *p) { return p; } diff --git a/gcc/testsuite/g++.dg/warn/Warray-bounds-4.C b/gcc/testsuite/g++.dg/warn/Warray-bounds-4.C index 319038a73bf..a4c43835aec 100644 --- a/gcc/testsuite/g++.dg/warn/Warray-bounds-4.C +++ b/gcc/testsuite/g++.dg/warn/Warray-bounds-4.C @@ -1,5 +1,6 @@ // { dg-do compile } // { dg-options "-O2 -Warray-bounds" } +// { dg-skip-if "" { *-*-aix* } } class String { diff --git a/gcc/testsuite/g++.dg/warn/Warray-bounds-8.C b/gcc/testsuite/g++.dg/warn/Warray-bounds-8.C index 850414ede4b..69226fa632a 100644 --- a/gcc/testsuite/g++.dg/warn/Warray-bounds-8.C +++ b/gcc/testsuite/g++.dg/warn/Warray-bounds-8.C @@ -3,7 +3,8 @@ See Wstringop-overflow-3.C for the same test that exercises the other warning. { dg-do compile } - { dg-options "-O2 -Wall -Wno-stringop-overflow" } */ + { dg-options "-O2 -Wall -Wno-stringop-overflow" } + { dg-skip-if "" { *-*-aix* } } */ void sink (void*);