PR bootstrap/54659
compiler: Don't include <gmp.h>, now included by go-system.h.
* go-system.h: Don't include <cstdio>.
From-SVN: r194669
+2012-12-21 Ian Lance Taylor <iant@google.com>
+
+ PR bootstrap/54659
+ * go-system.h: Don't include <cstdio>.
+
2012-12-18 Ian Lance Taylor <iant@google.com>
PR go/55201
// system.h.
#include <iostream>
-// Some versions of gmp.h assume that #include <iostream> will define
-// std::FILE. This is not true with libstdc++ 4.3 and later. This is
-// fixed in GMP 4.3, but at this point we don't know which version of
-// GMP is in use. Since the top level configure script accepts GMP
-// 4.2, at least for now we #include <cstdio> to ensure that GMP 4.2
-// will work. FIXME: This can be removed when we require GMP 4.3 or
-// later.
-#include <cstdio>
-
#include "system.h"
#include "ansidecl.h"
#include "coretypes.h"
#include <algorithm>
-#include <gmp.h>
-
#include "toplev.h"
#include "intl.h"
#include "tree.h"
#ifndef GO_EXPRESSIONS_H
#define GO_EXPRESSIONS_H
-#include <gmp.h>
#include <mpfr.h>
#include "operator.h"
#include "go-system.h"
-#include <gmp.h>
-
#include "toplev.h"
#include "tree.h"
#include "gimple.h"
#ifndef GO_LEX_H
#define GO_LEX_H
-#include <gmp.h>
#include <mpfr.h>
#include "operator.h"
#include "go-system.h"
-#include <gmp.h>
-
#include "gogo.h"
#include "types.h"
#include "expressions.h"
#include "go-system.h"
-#include <gmp.h>
-
#include "go-c.h"
#include "types.h"
#include "expressions.h"
#include "go-system.h"
-#include <gmp.h>
-
#include "toplev.h"
#include "intl.h"
#include "tree.h"