diff mbox series

XFAIL 18_support/new_nothrow.cc on AIX

Message ID CAGWvnymSrRnj5Ex-vUxpQbmK7Gm7P=tiAuHDJdGxJHib7kKfgw@mail.gmail.com
State New
Headers show
Series XFAIL 18_support/new_nothrow.cc on AIX | expand

Commit Message

David Edelsohn Aug. 20, 2018, 5:09 p.m. UTC
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.

Comments

Jonathan Wakely Aug. 20, 2018, 8:03 p.m. UTC | #1
On 20/08/18 13:09 -0400, David Edelsohn wrote:
>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?

OK, thanks.
diff mbox series

Patch

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>