[Bug libstdc++/77691] [7/8 regression] experimental/memory_resource/resource_adaptor.cc FAILs

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 16 16:41:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This doesn't seem like a libstdc++ bug. malloc must return memory suitably
aligned for any type of object with a fundamental alignment, i.e. <=
_Alignof(max_align_t).

So GCC's definition of max_align_t is not consistent with malloc in Solaris 12,
which means that GCC and malloc don't agree on the maximum fundamental
alignment for the target.


More information about the Gcc-bugs mailing list