https://gcc.gnu.org/g:f195c1c89c7275d8eb3ea680f1a7c848b8f6fbe6
commit r17-5204-gf195c1c89c7275d8eb3ea680f1a7c848b8f6fbe6 Author: Nathan Myers <[email protected]> Date: Wed Oct 14 12:00:51 2026 -0400 libstdc++: turn off _M_create test for pre-11 ABI 8ba83d3dab added a test that is incompatible with the pre-C++11 ABI, calling a string member that does not exist on that ABI. This gates running the test on that detail. libstdc++-v3/ChangeLog: * testsuite/21_strings/basic_string/127228.cc: Skip on pre-C++11 ABI. Diff: --- libstdc++-v3/testsuite/21_strings/basic_string/127228.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/127228.cc b/libstdc++-v3/testsuite/21_strings/basic_string/127228.cc index a0517c320f18..815b85df1a5c 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/127228.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/127228.cc @@ -1,4 +1,5 @@ // { dg-do run { target c++23 } } +// { dg-require-effective-target cxx11_abi } // { dg-options "-fno-access-control -fno-inline -fno-ipa-sra -fno-ipa-modref -fno-ipa-cp -fno-ipa-icf" } // libstdc++/127228
