From 49d14a841fd9a798fe6d68ae49c6fbb753d21032 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Tue, 14 Jun 2022 13:07:24 -0400 Subject: [PATCH] testsuite: AIX operator new 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/g++.dg/cpp1z/aligned-new9.C b/gcc/testsuite/g++.dg/cpp1z/aligned-new9.C index 3fa0ed9..dc5cff6 100644 --- a/gcc/testsuite/g++.dg/cpp1z/aligned-new9.C +++ b/gcc/testsuite/g++.dg/cpp1z/aligned-new9.C @@ -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 -- 2.7.4