Commit 613d4e78 by David Edelsohn Committed by David Edelsohn

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
parent 94ea5c6a
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> 2019-09-06 Caroline Tice <cmtice@google.com>
PR testsuite/91670 PR testsuite/91670
......
// { dg-options "-O3 -flifetime-dse" } // { dg-options "-O3 -flifetime-dse" }
// { dg-do run } // { dg-do run }
// { dg-xfail-run-if "AIX operator new" { powerpc-ibm-aix* } }
typedef __SIZE_TYPE__ size_t; typedef __SIZE_TYPE__ size_t;
inline void * operator new (size_t, void *p) { return p; } inline void * operator new (size_t, void *p) { return p; }
......
// { dg-options "-O3 -flifetime-dse=1" } // { dg-options "-O3 -flifetime-dse=1" }
// { dg-do run } // { dg-do run }
// { dg-xfail-run-if "AIX operator new" { powerpc-ibm-aix* } }
typedef __SIZE_TYPE__ size_t; typedef __SIZE_TYPE__ size_t;
inline void * operator new (size_t, void *p) { return p; } inline void * operator new (size_t, void *p) { return p; }
......
// { dg-do compile } // { dg-do compile }
// { dg-options "-O2 -Warray-bounds" } // { dg-options "-O2 -Warray-bounds" }
// { dg-skip-if "" { *-*-aix* } }
class String class String
{ {
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
See Wstringop-overflow-3.C for the same test that exercises the other See Wstringop-overflow-3.C for the same test that exercises the other
warning. warning.
{ dg-do compile } { dg-do compile }
{ dg-options "-O2 -Wall -Wno-stringop-overflow" } */ { dg-options "-O2 -Wall -Wno-stringop-overflow" }
{ dg-skip-if "" { *-*-aix* } } */
void sink (void*); void sink (void*);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment