[v3] xfail experimental/memory_resource/resource_adaptor.cc on 32-bit Solaris/x86 (PR libstdc++/77691)
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Thu Mar 22 10:04:00 GMT 2018
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?
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
2018-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR libstdc++/77691
* testsuite/experimental/memory_resource/resource_adaptor.cc:
xfail execution on 32-bit Solaris/x86.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: solx86-v3-max_align_t-malloc.patch
Type: text/x-patch
Size: 702 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20180322/722ca9fc/attachment.bin>
More information about the Libstdc++
mailing list