PR libstdc++/92143 adjust for OS X aligned_alloc behaviour
authorJonathan Wakely <jwakely@redhat.com>
Fri, 18 Oct 2019 11:27:31 +0000 (12:27 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 18 Oct 2019 11:27:31 +0000 (12:27 +0100)
commit15abd9320d4492f58783ac31b9fa651cec7747f3
treea949dae0d0bd8418f3db2ec2d3e48605fcf68c80
parent7e4b7d7bacd750628a99a42237e75810a4359b74
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.

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

From-SVN: r277151
libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/new_opa.cc