From 0bcf70f8511b8b1a363a63f6cdae3ac32d44d3a9 Mon Sep 17 00:00:00 2001 From: Oleg Endo Date: Sat, 3 May 2014 07:51:02 +0000 Subject: re PR target/61026 (sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c++ (clang).) PR target/61026 * config/sh/sh.c: Include stdlib headers before everything else. From-SVN: r210028 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9597805..92812c5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-05-03 Oleg Endo + + PR target/61026 + * config/sh/sh.c: Include stdlib headers before everything else. + 2014-05-02 Jakub Jelinek * gimplify.c (gimplify_adjust_omp_clauses_1): Handle diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 6d909c7..12724a2 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -19,6 +19,10 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ +#include +#include +#include + #include "config.h" #include "system.h" #include "coretypes.h" @@ -70,10 +74,6 @@ along with GCC; see the file COPYING3. If not see #include "pass_manager.h" #include "context.h" -#include -#include -#include - int code_for_indirect_jump_scratch = CODE_FOR_indirect_jump_scratch; /* These are some macros to abstract register modes. */ -- cgit v1.1