diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2019-09-06 15:24:28 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2019-09-06 11:24:28 -0400 |
commit | 613d4e784c23fbf5ae6e3132fd4d0150545681c1 (patch) | |
tree | f9d084c107a62e7832df71cc6336e6c94a5736f1 | |
parent | 94ea5c6a5102ebf77590e1f4583922dd474ff8de (diff) | |
download | gcc-613d4e784c23fbf5ae6e3132fd4d0150545681c1.zip gcc-613d4e784c23fbf5ae6e3132fd4d0150545681c1.tar.gz gcc-613d4e784c23fbf5ae6e3132fd4d0150545681c1.tar.bz2 |
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/opt/flifetime-dse2.C | 1 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/opt/flifetime-dse4.C | 1 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/warn/Warray-bounds-4.C | 1 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/warn/Warray-bounds-8.C | 3 |
5 files changed, 12 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9de41ea..f206218 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-09-06 David Edelsohn <dje.gcc@gmail.com> + + * 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 <cmtice@google.com> PR testsuite/91670 diff --git a/gcc/testsuite/g++.dg/opt/flifetime-dse2.C b/gcc/testsuite/g++.dg/opt/flifetime-dse2.C index 16d9a74..5f78bc9 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 c72444a..4a6fe57 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 319038a..a4c4383 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 850414e..69226fa 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*); |