On Wed, 14 Oct 2026, 18:02 Nathan Myers, <[email protected]> wrote:

> 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.
>

Please break this line at less than 76 characters.

OK with that change, thanks


---
>  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 a0517c320f1..815b85df1a5 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
> --
> 2.56.0
>
>

Reply via email to