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

--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu Oct 24 15:31:00 2019
New Revision: 277414

URL: https://gcc.gnu.org/viewcvs?rev=277414&root=gcc&view=rev
Log:
PR libstdc++/92143 adjust for OS X aligned_alloc behaviour

OS X 10.15 adds aligned_alloc but it has the same restriction as the AIX
version, namely that alignments smaller than sizeof(void*) are not
supported.

Backport from mainline
2019-10-18  Jonathan Wakely  <jwak...@redhat.com>

        PR libstdc++/92143
        * libsupc++/new_opa.cc (operator new) [__APPLE__]: Increase alignment
        to at least sizeof(void*).

Modified:
    branches/gcc-7-branch/libstdc++-v3/ChangeLog
    branches/gcc-7-branch/libstdc++-v3/libsupc++/new_opa.cc

Reply via email to