https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83662
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Mon Mar 12 22:52:16 2018 New Revision: 258468 URL: https://gcc.gnu.org/viewcvs?rev=258468&root=gcc&view=rev Log: 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. Added: trunk/libstdc++-v3/testsuite/18_support/aligned_alloc/ trunk/libstdc++-v3/testsuite/18_support/aligned_alloc/aligned_alloc.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/configure trunk/libstdc++-v3/crossconfig.m4 trunk/libstdc++-v3/include/c_global/cstdlib