[PATCH] libstdc++: remove the gnu++11 in check performance script

Jonathan Wakely jwakely@redhat.com
Thu Aug 20 15:33:54 GMT 2026


On Thu, 20 Aug 2026 at 14:38, Yuao Ma <addr2line@gmail.com> wrote:
>
> Hi!
>
> Based on previous discussions, we could remove the gnu++11 flag in the
> check performance script. And the rebind logic removed in c++20 is
> also adjusted.

This makes the pb_ds performance tests unable to run as C++98, because
that doesn't have std::allocator_traits. So if anybody wanted to
compare performance of those containers in C++98 and C++20 (or C++11),
maybe because they were adding move semantics to the pb_ds containers,
the performance tests would not work.

Although I really don't care about the pb_ds tests (because pb_ds is
unmaintained and should be moved to a separate repo), you could make
it work for all versions of C++ by using __gnu_cxx::__alloc_traits
instead of std::allocator_traits.

>
> Tested with make check-performance, ok for trunk?
>
> Thanks,
> Yuao



More information about the Libstdc++ mailing list