[PATCH] Fix coroutine tests for libstdc++ gnu-version-namespace mode
François Dumont
frs.dumont@gmail.com
Tue Oct 3 20:14:55 GMT 2023
Indeed ! Here is the right one.
On 03/10/2023 11:52, Jonathan Wakely wrote:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coroutines_tests.patch
Type: text/x-patch
Size: 4810 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20231003/c3aea9c0/attachment.bin>
More information about the Gcc
mailing list