https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84773
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Mon Mar 12 23:32:30 2018 New Revision: 258469 URL: https://gcc.gnu.org/viewcvs?rev=258469&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: branches/gcc-7-branch/libstdc++-v3/testsuite/18_support/aligned_alloc/ branches/gcc-7-branch/libstdc++-v3/testsuite/18_support/aligned_alloc/aligned_alloc.cc Modified: branches/gcc-7-branch/libstdc++-v3/ChangeLog branches/gcc-7-branch/libstdc++-v3/configure branches/gcc-7-branch/libstdc++-v3/crossconfig.m4 branches/gcc-7-branch/libstdc++-v3/include/c_global/cstdlib