This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] xfail experimental/memory_resource/resource_adaptor.cc on 32-bit Solaris/x86 (PR libstdc++/77691)
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Jonathan Wakely <jwakely at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Thu, 22 Mar 2018 14:42:13 +0100
- Subject: Re: [v3] xfail experimental/memory_resource/resource_adaptor.cc on 32-bit Solaris/x86 (PR libstdc++/77691)
- References: <ydd7eq4juk4.fsf@CeBiTec.Uni-Bielefeld.DE> <20180322115547.GC25691@redhat.com>
Hi Jonathan,
> On 22/03/18 11:03 +0100, Rainer Orth wrote:
>>experimental/memory_resource/resource_adaptor.cc currently FAILs on
>>32-bit Solaris/x86:
>>
>>Assertion failed: aligned<max_align_t>(p), file
>> /vol/gcc/src/hg/trunk/local/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc,
>> line 56, function test05
>>
>>As detailed in the PR, this happens because Solaris <stddef.h> and the
>>Studio 12.6 compilers know nothing about __float128/_Float128 and malloc
>>only returns pointers aligned to 8 bytes, not 16 bytes as expected by
>>gcc/ginclude/stddef.h (max_align_t).
>>
>>Thus, while checking if Solaris i386 malloc can be changed here, I'm
>>xfailing the test.
>>
>>Tested on i386-pc-solaris2.11, amd64-pc-solaris2.11, and
>>sparc-sun-solaris2.11.
>>
>>Ok for mainline?
>
> OK, thanks.
installed on mainline. I just noticed that the bug is marked as 7
regression; I guess it's ok to backport to the gcc-7 branch, too?
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University