On Tue, Sep 6, 2016 at 11:16 AM, Joseph Myers <jos...@codesourcery.com> wrote: > GCC is supposed to support all mallocs that produce results aligned to at > least MALLOC_ABI_ALIGNMENT (which may be smaller than the alignment of > max_align_t).
I've just been running into problems with MALLOC_ABI_ALIGNMENT being smaller than max_align_t, which doesn't make sense to me; the C11 passage Florian quoted says that malloc needs to support all fundamental alignments, i.e. max_align_t. Jason