summaryrefslogtreecommitdiff
path: root/gcc/realmpfr.h
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-16 13:28:13 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-16 13:28:13 +0000
commitf5d9dd2ea4fdacef34156ebc853cfeba4e6f301c (patch)
treecce547740f98c101f61544e0f1425332c9574d32 /gcc/realmpfr.h
parentd09bc815334db180910b5f50f9972982207695be (diff)
downloadgcc-f5d9dd2ea4fdacef34156ebc853cfeba4e6f301c.tar.gz
2012-08-16 Diego Novillo <dnovillo@google.com>
PR bootstrap/54281 * double-int.h: Move including of gmp.h ... * system.h: ... here. * realmpfr.h: Do not include gmp.h. * tree-ssa-loop-niter.c: Do not include gmp.h. fortran/ChangeLog * gfortran.h: Do not include gmp.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190444 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/realmpfr.h')
-rw-r--r--gcc/realmpfr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/realmpfr.h b/gcc/realmpfr.h
index ab234e9195d..ada876e2854 100644
--- a/gcc/realmpfr.h
+++ b/gcc/realmpfr.h
@@ -22,7 +22,10 @@
#ifndef GCC_REALGMP_H
#define GCC_REALGMP_H
-#include <gmp.h>
+/* Note that we do not include gmp.h. It is included in system.h
+ because it wrecks intl.h when compiling in C++ mode.
+ See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54281 for details. */
+
#include <mpfr.h>
#include <mpc.h>
#include "real.h"