[PATCH] Fix coroutine tests for libstdc++ gnu-version-namespace mode

Jonathan Wakely jwakely.gcc@gmail.com
Tue Oct 3 09:52:00 GMT 2023


On Mon, 2 Oct 2023 at 18:07, François Dumont <frs.dumont@gmail.com> wrote:
>
> Hi
>
> Gentle reminder for this minor patch.

It looks like you attached the wrong patch.


>
> Thanks
>
> On 23/09/2023 22:10, François Dumont wrote:
> > I'm eventually fixing those tests the same way we manage this problem
> > in libstdc++ testsuite.
> >
> >    testsuite: Add optional libstdc++ version namespace in expected
> > diagnostic
> >
> >     When libstdc++ is build with
> > --enable-symvers=gnu-versioned-namespace diagnostics are
> >     showing this namespace, currently __8.
> >
> >     gcc/testsuite/ChangeLog:
> >
> >             *
> > testsuite/g++.dg/coroutines/coro-bad-alloc-00-bad-op-new.C: Add optional
> >             '__8' version namespace in expected diagnostic.
> >             *
> > testsuite/g++.dg/coroutines/coro-bad-alloc-01-bad-op-del.C: Likewise.
> >             *
> > testsuite/g++.dg/coroutines/coro-bad-alloc-02-no-op-new-nt.C: Likewise.
> >             *
> > testsuite/g++.dg/coroutines/coro-bad-grooaf-01-grooaf-expected.C:
> > Likewise.
> >             * testsuite/g++.dg/coroutines/pr97438.C: Likewise.
> >             * testsuite/g++.dg/coroutines/ramp-return-b.C: Likewise.
> >
> > Tested under Linux x86_64.
> >
> > I'm contributing to libstdc++ so I already have write access.
> >
> > Ok to commit ?
> >
> > François


More information about the Libstdc++ mailing list