]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR libstdc++/92143 adjust for OS X aligned_alloc behaviour
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Oct 2019 11:27:31 +0000 (11:27 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Oct 2019 11:27:31 +0000 (11:27 +0000)
commit560ebdcc827f7558adca7890bf4b6420b4d4acb0
treea949dae0d0bd8418f3db2ec2d3e48605fcf68c80
parent091371545376f40319d2f32a39cb19669276cacf
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*).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277151 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/new_opa.cc