From dec1eb4c276f1b3c003154c159b539eb7110a13f Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 29 Oct 2020 16:46:53 -0400 Subject: [PATCH] libstdc++: AIX xfail for_overwrite.cc testcase The 20_util/unique_ptr/creation/for_overwrite.cc testcase relies on operator new, which requires special features on AIX. This patch disables the testcase. libstdc++-v3/ChangeLog: * testsuite/20_util/unique_ptr/creation/for_overwrite.cc: XFAIL on AIX. --- .../testsuite/20_util/unique_ptr/creation/for_overwrite.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libstdc++-v3/testsuite/20_util/unique_ptr/creation/for_overwrite.cc b/libstdc++-v3/testsuite/20_util/unique_ptr/creation/for_overwrite.cc index e7231c2ac95..5827c6dcd5d 100644 --- a/libstdc++-v3/testsuite/20_util/unique_ptr/creation/for_overwrite.cc +++ b/libstdc++-v3/testsuite/20_util/unique_ptr/creation/for_overwrite.cc @@ -1,5 +1,6 @@ // { dg-options "-std=gnu++20" } // { dg-do run { target c++2a } } +// { dg-xfail-run-if "AIX operator new" { powerpc-ibm-aix* } } // Copyright (C) 2020 Free Software Foundation, Inc. // -- 2.30.2