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

Jonathan Wakely <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.libstdc++.devel
Message-ID <CACb0b4=a2MehVRBj60ZUqPFPA+CxSDbSWX+Sb4xmnjLHZSPgNA@mail.gmail.com>
On Thu, 20 Aug 2026 at 14:38, Yuao Ma <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.