]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sh.c: Remove <cstdlib> workaround.
authorOleg Endo <olegendo@gcc.gnu.org>
Sat, 22 Jun 2013 12:00:09 +0000 (12:00 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Sat, 22 Jun 2013 12:00:09 +0000 (12:00 +0000)
* config/sh/sh.c: Remove <cstdlib> workaround.

Co-Authored-By: Jason Merrill <jason@redhat.com>
From-SVN: r200328

gcc/ChangeLog
gcc/config/sh/sh.c

index 889cbcc63d88b05e5f77e1dd9393a0ae2e6f0303..9ee61041313ec3b5219838e1b0c78a90f217818f 100644 (file)
@@ -1,3 +1,7 @@
+2013-06-22  Oleg Endo <olegendo@gcc.gnu.org>
+
+       * config/sh/sh.c: Remove <cstdlib> workaround.
+
 2013-06-21  Andi Kleen  <ak@linux.intel.com>
 
        * doc/extend.texi: Dont use __atomic_clear in HLE
@@ -18,7 +22,7 @@
        (get_binfo_at_offset): Use it.
        * tree.h (types_same_for_odr): Declare.
 
-2013-06-20  Oleg Endo <oleg.endo@t-online.de>
+2013-06-20  Oleg Endo <olegendo@gcc.gnu.org>
            Jason Merrill  <jason@redhat.com>
 
        * system.h: Include <cstdlib> as well as <stdlib.h>.
index 5976206f8b40253d26e0c3cfef2c6786f066e564..60f454520367175a9bd7266abe44e0d958e587ee 100644 (file)
@@ -19,12 +19,6 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
-/* FIXME: This is a temporary hack, so that we can include <algorithm>
-   below.  <algorithm> will try to include <cstdlib> which will reference
-   malloc & co, which are poisoned by "system.h".  The proper solution is
-   to include <cstdlib> in "system.h" instead of <stdlib.h>.  */
-#include <cstdlib>
-
 #include "config.h"
 #include "system.h"
 #include "coretypes.h"