18_support/new_nothrow.cc relies upon overriding operator new. This is not enabled by default in libstdc++ on AIX. This patch XFAILs the testcase.
Bootstrapped on powerpc-ibm-aix7.2.0.0 Okay? Thanks, David * testsuite/18_support/new_nothrow.cc: XFAIL on AIX. Index: 18_support/new_nothrow.cc =================================================================== --- 18_support/new_nothrow.cc (revision 263658) +++ 18_support/new_nothrow.cc (working copy) @@ -16,6 +16,7 @@ // <http://www.gnu.org/licenses/>. // { dg-do run } +// { dg-xfail-run-if "AIX operator new" { powerpc-ibm-aix* } } #include <new> #include <stdlib.h>