aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2012-12-21 14:33:13 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-12-21 14:33:13 +0000
commitd106911b0d8a0575daba3c7097c2c2d8878da8c7 (patch)
tree9261785ac75ce71566232c14b4eea18da31f61d0 /gcc
parent4cc7046660c0d1520498a2f713e35a14f2d45cfc (diff)
downloadgcc-d106911b0d8a0575daba3c7097c2c2d8878da8c7.zip
gcc-d106911b0d8a0575daba3c7097c2c2d8878da8c7.tar.gz
gcc-d106911b0d8a0575daba3c7097c2c2d8878da8c7.tar.bz2
re PR bootstrap/54659 (Bootstrap with --disable-nls broken under Windows)
2012-12-21 Richard Biener <rguenther@suse.de> PR bootstrap/54659 * system.h: Include gmp.h. * tree-ssa-loop-niter.c: Do not include gmp.h here. * double-int.h: Likewise. * realmpfr.h: Likewise. fortran/ * gfortran.h: Do not include gmp.h here. From-SVN: r194665
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/double-int.h4
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/gfortran.h1
-rw-r--r--gcc/realmpfr.h1
-rw-r--r--gcc/system.h2
-rw-r--r--gcc/tree-ssa-loop-niter.c1
7 files changed, 15 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 90ecae0..53bbd71 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2012-12-21 Richard Biener <rguenther@suse.de>
+
+ PR bootstrap/54659
+ * system.h: Include gmp.h.
+ * tree-ssa-loop-niter.c: Do not include gmp.h here.
+ * double-int.h: Likewise.
+ * realmpfr.h: Likewise.
+
2012-12-21 Greta Yorsh <Greta.Yorsh@arm.com>
* config/arm/cortex-a7.md: New file.
diff --git a/gcc/double-int.h b/gcc/double-int.h
index f4eb6ab..b3f3386 100644
--- a/gcc/double-int.h
+++ b/gcc/double-int.h
@@ -20,10 +20,6 @@ along with GCC; see the file COPYING3. If not see
#ifndef DOUBLE_INT_H
#define DOUBLE_INT_H
-#ifndef GENERATOR_FILE
-#include <gmp.h>
-#endif
-
/* A large integer is currently represented as a pair of HOST_WIDE_INTs.
It therefore represents a number with precision of
2 * HOST_BITS_PER_WIDE_INT bits (it is however possible that the
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 7924fe7..6d98c8c 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-21 Richard Biener <rguenther@suse.de>
+
+ PR bootstrap/54659
+ * gfortran.h: Do not include gmp.h here.
+
2012-12-21 Paul Thomas <pault@gcc.gnu.org>
PR fortran/55763
diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h
index ec0c61f..f120992 100644
--- a/gcc/fortran/gfortran.h
+++ b/gcc/fortran/gfortran.h
@@ -1699,7 +1699,6 @@ gfc_intrinsic_sym;
EXPR_COMPCALL Function (or subroutine) call of a procedure pointer
component or type-bound procedure. */
-#include <gmp.h>
#include <mpfr.h>
#include <mpc.h>
#define GFC_RND_MODE GMP_RNDN
diff --git a/gcc/realmpfr.h b/gcc/realmpfr.h
index ab234e9..4cfa4fb 100644
--- a/gcc/realmpfr.h
+++ b/gcc/realmpfr.h
@@ -22,7 +22,6 @@
#ifndef GCC_REALGMP_H
#define GCC_REALGMP_H
-#include <gmp.h>
#include <mpfr.h>
#include <mpc.h>
#include "real.h"
diff --git a/gcc/system.h b/gcc/system.h
index 54d86ac..ab1b887 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -638,6 +638,8 @@ extern int vsnprintf(char *, size_t, const char *, va_list);
#include <dlfcn.h>
#endif
+#include <gmp.h>
+
/* Get libiberty declarations. */
#include "libiberty.h"
diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c
index 4a09999..7a15ff82 100644
--- a/gcc/tree-ssa-loop-niter.c
+++ b/gcc/tree-ssa-loop-niter.c
@@ -38,7 +38,6 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "diagnostic-core.h"
#include "tree-inline.h"
-#include "gmp.h"
#define SWAP(X, Y) do { affine_iv *tmp = (X); (X) = (Y); (Y) = tmp; } while (0)