]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 3fa0ed996bd321ae3cffce16fdf7a9820cbd11d7..dc5cff6ea0c150887f2faa66bdfdcfd9fb1749d0 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>