Revert "libstdc++-v3: Have aligned_alloc() on Newlib"
authorJonathan Wakely <jwakely@redhat.com>
Mon, 13 Aug 2018 18:54:21 +0000 (19:54 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 13 Aug 2018 18:54:21 +0000 (19:54 +0100)
This reverts commit r263461 / 2e920cd849b3cf0a72df4f172e27676a3e70b73f
because aligned_alloc is not defined for baremetal newlib targets, see
https://gcc.gnu.org/ml/libstdc++/2018-08/msg00065.html

Revert
2018-08-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>

PR target/85904
* configure.ac: Define HAVE_ALIGNED_ALLOC if building for
Newlib.
* configure: Regenerate.

From-SVN: r263513

libstdc++-v3/ChangeLog
libstdc++-v3/configure
libstdc++-v3/configure.ac

index fd547e26039146f0e9e96e7ad8047fe7b9ac0b0c..424281ce94977ba60ed6a57993a267f837379477 100644 (file)
@@ -1,3 +1,13 @@
+2018-08-13  Jonathan Wakely  <jwakely@redhat.com>
+
+       Revert
+       2018-08-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>
+
+       PR target/85904
+       * configure.ac: Define HAVE_ALIGNED_ALLOC if building for
+       Newlib.
+       * configure: Regenerate.
+
 2018-08-10  Jonathan Wakely  <jwakely@redhat.com>
 
        PR libstdc++/68210
index 53803b7e599ebc535fef11c91231a8cb803c03e1..d33081d544ca12d86931a544d0ed048af2177803 100755 (executable)
@@ -28967,8 +28967,6 @@ else
     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
 
 
-    $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h
-
     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
 
     $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
index e15228dde5eebe327ef8f937ddcc5cf4c469c01c..332af3706d3bc9da378251d3bded18556dfa68d0 100644 (file)
@@ -330,7 +330,6 @@ else
     AC_DEFINE(HAVE_TANF)
     AC_DEFINE(HAVE_TANHF)
 
-    AC_DEFINE(HAVE_ALIGNED_ALLOC)
     AC_DEFINE(HAVE_ICONV)
     AC_DEFINE(HAVE_MEMALIGN)
   else