On Fri, 9 May 2025 at 11:19, Jonathan Wakely <jwak...@redhat.com> wrote:
>
> On Thu, 8 May 2025 at 20:56, Jason Merrill <ja...@redhat.com> wrote:
> >
> > Tested x86_64-pc-linux-gnu.  Does this make sense for trunk?
>
> Yes, it looks useful. I'm going to test it with my "very -std and -m32
> and old-string ABI" test settings to be sure it doesn't cause any
> problems.

There are a few failures when using GLIBCXX_TESTSUITE_STDS=20 to run
tests as C++20 or later:

FAIL: experimental/net/internet/resolver/ops/lookup.cc  -std=gnu++23
(test for excess errors)
Excess errors:
/tmp/build/x86_64-pc-linux-gnu/libstdc++-v3/include/experimental/internet:2100:
warning: offset of
'std::experimental::net::v1::ip::basic_resolver<std::experimental::net::v1::ip::tcp>::_M_ctx'
for '-std=c++20' and up changes in '-fabi-version=21' (GCC 16) [-Wabi]

FAIL: experimental/optional/requirements.cc  -std=gnu++20 (test for
excess errors)
Excess errors:
/home/test/src/gcc/libstdc++-v3/testsuite/experimental/optional/requirements.cc:80:
warning: offset of 'no_copy_assignment::__as_base ' base class for
'-std=c++20' and up changes in '-fabi-version=21' (GCC 16) [-Wabi]
/home/test/src/gcc/libstdc++-v3/testsuite/experimental/optional/requirements.cc:81:
warning: offset of 'no_move_assignment::__as_base ' base class for
'-std=c++20' and up changes in '-fabi-version=21' (GCC 16) [-Wabi]

They're all in <experimental/xxx> headers, and nothing that's exported
from the shared lib.

I'll look into them.

Reply via email to