aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorOleg Endo <olegendo@gcc.gnu.org>2014-05-03 07:51:02 +0000
committerOleg Endo <olegendo@gcc.gnu.org>2014-05-03 07:51:02 +0000
commit0bcf70f8511b8b1a363a63f6cdae3ac32d44d3a9 (patch)
tree68b60cd1f017abce8a479dcd5a6d6838ac9c00c1 /gcc
parent2ec1d0af602c4bff8592b6a6c357d866de7811c7 (diff)
downloadgcc-0bcf70f8511b8b1a363a63f6cdae3ac32d44d3a9.zip
gcc-0bcf70f8511b8b1a363a63f6cdae3ac32d44d3a9.tar.gz
gcc-0bcf70f8511b8b1a363a63f6cdae3ac32d44d3a9.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sh/sh.c8
2 files changed, 9 insertions, 4 deletions
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 <olegendo@gcc.gnu.org>
+
+ PR target/61026
+ * config/sh/sh.c: Include stdlib headers before everything else.
+
2014-05-02 Jakub Jelinek <jakub@redhat.com>
* 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
<http://www.gnu.org/licenses/>. */
+#include <sstream>
+#include <vector>
+#include <algorithm>
+
#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 <sstream>
-#include <vector>
-#include <algorithm>
-
int code_for_indirect_jump_scratch = CODE_FOR_indirect_jump_scratch;
/* These are some macros to abstract register modes. */