re PR target/61026 (sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c++ (clang).)
authorOleg Endo <olegendo@gcc.gnu.org>
Sat, 3 May 2014 07:51:02 +0000 (07:51 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Sat, 3 May 2014 07:51:02 +0000 (07:51 +0000)
PR target/61026
* config/sh/sh.c: Include stdlib headers before everything else.

From-SVN: r210028

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

index 9597805..92812c5 100644 (file)
@@ -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
index 6d909c7..12724a2 100644 (file)
@@ -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.  */