30_threads/thread/native_handle/typesizes.cc is no good
Jonathan Wakely
jwakely@redhat.com
Fri May 10 21:47:00 GMT 2019
On 10/05/19 19:57 +0100, Iain Sandoe wrote:
>Hi Jonathan
>
>> On 10 May 2019, at 15:20, Iain Sandoe <idsandoe@googlemail.com> wrote:
>>
>>> On 10 May 2019, at 14:57, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
>>>
>>> Resending as plaint text so the lists don't reject it â¦
>>
>>>> In order to test what it should, we'd need to use an alternate test
>>>> function that does not strip off one indirection level from
>>>> native_handle_type, if the test is to remain.
>>>>
>>>
>>> Or just adapt the current test to work for the std::thread case too, by
>>> only removing the pointer when we know we need to remove it, as in the
>>> attached patch. Does this work on targets using a pointer type for
>>> pthread_t?
>>
>> this will fix PR81266, if so, will add to my next run.
>
>The attached minor update to the posted patch does this.
>cheers
Sorry for not testing the patch!
The attached version has been committed to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 1884 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20190510/05b560de/attachment.bin>
More information about the Libstdc++
mailing list