[Bug malloc/20137] aligned_alloc should fail for bad size / alignment [DR#460]

jsm28 at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Wed May 25 13:46:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=20137

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at redhat dot com

--- Comment #4 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Martin, any comments on the rationale for requiring size to be a multiple of
alignment?

(_Decimal128 is a basic type - both TS 18661-2 and the older TR 24732 define it
in a way that adds it to the basic types - so should just need malloc, not
aligned_alloc.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list