Commit 664dd721 by Oleg Endo

sh.c: Remove <cstdlib> workaround.

	* config/sh/sh.c: Remove <cstdlib> workaround.


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

From-SVN: r200328
parent da018042
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> 2013-06-21 Andi Kleen <ak@linux.intel.com>
* doc/extend.texi: Dont use __atomic_clear in HLE * doc/extend.texi: Dont use __atomic_clear in HLE
...@@ -18,7 +22,7 @@ ...@@ -18,7 +22,7 @@
(get_binfo_at_offset): Use it. (get_binfo_at_offset): Use it.
* tree.h (types_same_for_odr): Declare. * 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> Jason Merrill <jason@redhat.com>
* system.h: Include <cstdlib> as well as <stdlib.h>. * system.h: Include <cstdlib> as well as <stdlib.h>.
......
...@@ -19,12 +19,6 @@ You should have received a copy of the GNU General Public License ...@@ -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 along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */ <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 "config.h"
#include "system.h" #include "system.h"
#include "coretypes.h" #include "coretypes.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment