This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] XFAIL 18_support/new_nothrow.cc on AIX


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]