testsuite: AIX operator new
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 14 Jun 2022 17:07:24 +0000 (13:07 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Wed, 15 Jun 2022 17:49:35 +0000 (13:49 -0400)
The testcase relies on C++ "operator new", which requires AIX
runtime linking to override the symbol at runtime.

* g++.dg/cpp1z/aligned-new9.C: Skip on AIX.

gcc/testsuite/g++.dg/cpp1z/aligned-new9.C

index 3fa0ed9..dc5cff6 100644 (file)
@@ -1,6 +1,7 @@
 // PR c++/102071
 // { dg-do run { target c++17 } }
 // { dg-additional-options -faligned-new=2 }
+// { dg-xfail-run-if "AIX operator new" { powerpc-ibm-aix* } }
 
 #include <new>