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
This commit is contained in:
David Edelsohn 2019-09-06 15:24:28 +00:00 committed by David Edelsohn
parent 94ea5c6a51
commit 613d4e784c
5 changed files with 12 additions and 1 deletions

View file

@ -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

View file

@ -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; }

View file

@ -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; }

View file

@ -1,5 +1,6 @@
// { dg-do compile }
// { dg-options "-O2 -Warray-bounds" }
// { dg-skip-if "" { *-*-aix* } }
class String
{

View file

@ -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*);