PR libstdc++/84773 use aligned alloc functions for FreeBSD and MinGW cross-compilers
commit147fd74e3938aa0af0e257ab9766d8b5dc159121
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Mar 2018 22:52:16 +0000 (12 22:52 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Mar 2018 22:52:16 +0000 (12 22:52 +0000)
tree257f20eaa3a9d1a61ebad1c00592842060b7f1d6
parent7d966c397ef90912e0e78b4761ed10f835535728
PR libstdc++/84773 use aligned alloc functions for FreeBSD and MinGW cross-compilers

PR libstdc++/84773
PR libstdc++/83662
* crossconfig.m4: Check for aligned_alloc etc. on freebsd and mingw32.
* configure: Regenerate.
* include/c_global/cstdlib [_GLIBCXX_HAVE_ALIGNED_ALLOC]
(aligned_alloc): Add using-declaration.
* testsuite/18_support/aligned_alloc/aligned_alloc.cc: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258468 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/configure
libstdc++-v3/crossconfig.m4
libstdc++-v3/include/c_global/cstdlib
libstdc++-v3/testsuite/18_support/aligned_alloc/aligned_alloc.cc [new file with mode: 0644]