PR libstdc++/84773 use aligned alloc functions for FreeBSD and MinGW cross-compilers
authorJonathan Wakely <jwakely@redhat.com>
Mon, 12 Mar 2018 22:52:16 +0000 (22:52 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 12 Mar 2018 22:52:16 +0000 (22:52 +0000)
commit97ca95ac6fb17297f40e160d86c29cbcb3488270
tree257f20eaa3a9d1a61ebad1c00592842060b7f1d6
parent50536fd5e8539f209983092c5278477fa0b4d570
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.

From-SVN: r258468
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]