From: David Edelsohn Date: Thu, 29 Oct 2020 20:46:53 +0000 (-0400) Subject: libstdc++: AIX xfail for_overwrite.cc testcase X-Git-Tag: basepoints/gcc-12~3701 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dec1eb4c276f1b3c003154c159b539eb7110a13f;p=thirdparty%2Fgcc.git 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. --- 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 e7231c2ac95f..5827c6dcd5d9 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. //