aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/ChangeLog34
-rw-r--r--gcc/fortran/arith.c1
-rw-r--r--gcc/fortran/array.c1
-rw-r--r--gcc/fortran/bbt.c1
-rw-r--r--gcc/fortran/check.c1
-rw-r--r--gcc/fortran/class.c1
-rw-r--r--gcc/fortran/constructor.c1
-rw-r--r--gcc/fortran/data.c1
-rw-r--r--gcc/fortran/decl.c1
-rw-r--r--gcc/fortran/dependency.c1
-rw-r--r--gcc/fortran/dump-parse-tree.c1
-rw-r--r--gcc/fortran/error.c1
-rw-r--r--gcc/fortran/expr.c1
-rw-r--r--gcc/fortran/frontend-passes.c1
-rw-r--r--gcc/fortran/gfortran.h5
-rw-r--r--gcc/fortran/interface.c1
-rw-r--r--gcc/fortran/intrinsic.c1
-rw-r--r--gcc/fortran/io.c1
-rw-r--r--gcc/fortran/match.c1
-rw-r--r--gcc/fortran/matchexp.c1
-rw-r--r--gcc/fortran/misc.c1
-rw-r--r--gcc/fortran/module.c1
-rw-r--r--gcc/fortran/openmp.c1
-rw-r--r--gcc/fortran/parse.c1
-rw-r--r--gcc/fortran/primary.c1
-rw-r--r--gcc/fortran/resolve.c1
-rw-r--r--gcc/fortran/scanner.c1
-rw-r--r--gcc/fortran/simplify.c1
-rw-r--r--gcc/fortran/st.c1
-rw-r--r--gcc/fortran/symbol.c1
-rw-r--r--gcc/fortran/target-memory.c1
31 files changed, 67 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 3d85f29f..8a2a767 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,37 @@
+2012-07-08 Steven Bosscher <steven@gcc.gnu.org>
+
+ * gfortran.h: Do not include coretypes.h here.
+ Make it an error to include this before coretypes.h
+ * openmp.c: Include coretypes.h.
+ * interface.c: Likewise.
+ * intrinsic.c: Likewise.
+ * symbol.c: Likewise.
+ * class.c: Likewise.
+ * decl.c: Likewise.
+ * matchexp.c: Likewise.
+ * dump-parse-tree.c: Likewise.
+ * array.c: Likewise.
+ * constructor.c: Likewise.
+ * error.c: Likewise.
+ * data.c: Likewise.
+ * expr.c: Likewise.
+ * module.c: Likewise.
+ * scanner.c: Likewise.
+ * bbt.c: Likewise.
+ * io.c: Likewise.
+ * frontend-passes.c: Likewise.
+ * resolve.c: Likewise.
+ * st.c: Likewise.
+ * target-memory.c: Likewise.
+ * match.c: Likewise.
+ * arith.c: Likewise.
+ * parse.c: Likewise.
+ * check.c: Likewise.
+ * dependency.c: Likewise.
+ * primary.c: Likewise.
+ * misc.c: Likewise.
+ * simplify.c: Likewise.
+
2012-07-05 Mikael Morin <mikael@gcc.gnu.org>
PR fortran/53732
diff --git a/gcc/fortran/arith.c b/gcc/fortran/arith.c
index 53a9dad..38ba271 100644
--- a/gcc/fortran/arith.c
+++ b/gcc/fortran/arith.c
@@ -27,6 +27,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "flags.h"
#include "gfortran.h"
#include "arith.h"
diff --git a/gcc/fortran/array.c b/gcc/fortran/array.c
index b36d517..51528b4 100644
--- a/gcc/fortran/array.c
+++ b/gcc/fortran/array.c
@@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "gfortran.h"
#include "match.h"
#include "constructor.h"
diff --git a/gcc/fortran/bbt.c b/gcc/fortran/bbt.c
index a78467b..000f04b 100644
--- a/gcc/fortran/bbt.c
+++ b/gcc/fortran/bbt.c
@@ -38,6 +38,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "gfortran.h"
typedef struct gfc_treap
diff --git a/gcc/fortran/check.c b/gcc/fortran/check.c
index 7d505d5..407052f 100644
--- a/gcc/fortran/check.c
+++ b/gcc/fortran/check.c
@@ -29,6 +29,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "flags.h"
#include "gfortran.h"
#include "intrinsic.h"
diff --git a/gcc/fortran/class.c b/gcc/fortran/class.c
index c71aa4a..fc083dc 100644
--- a/gcc/fortran/class.c
+++ b/gcc/fortran/class.c
@@ -48,6 +48,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "gfortran.h"
#include "constructor.h"
diff --git a/gcc/fortran/constructor.c b/gcc/fortran/constructor.c
index 600488d..182d00d 100644
--- a/gcc/fortran/constructor.c
+++ b/gcc/fortran/constructor.c
@@ -20,6 +20,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "gfortran.h"
#include "constructor.h"
diff --git a/gcc/fortran/data.c b/gcc/fortran/data.c
index 67da371..a55b67e 100644
--- a/gcc/fortran/data.c
+++ b/gcc/fortran/data.c
@@ -35,6 +35,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "gfortran.h"
#include "data.h"
#include "constructor.h"
diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c
index 26b5059..c3644b6 100644
--- a/gcc/fortran/decl.c
+++ b/gcc/fortran/decl.c
@@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "gfortran.h"
#include "match.h"
#include "parse.h"
diff --git a/gcc/fortran/dependency.c b/gcc/fortran/dependency.c
index a2cf21d..108815a 100644
--- a/gcc/fortran/dependency.c
+++ b/gcc/fortran/dependency.c
@@ -26,6 +26,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "gfortran.h"
#include "dependency.h"
#include "constructor.h"
diff --git a/gcc/fortran/dump-parse-tree.c b/gcc/fortran/dump-parse-tree.c
index 7f1d28f..26c5201 100644
--- a/gcc/fortran/dump-parse-tree.c
+++ b/gcc/fortran/dump-parse-tree.c
@@ -33,6 +33,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "gfortran.h"
#include "constructor.h"
diff --git a/gcc/fortran/error.c b/gcc/fortran/error.c
index e930837..25d3cba 100644
--- a/gcc/fortran/error.c
+++ b/gcc/fortran/error.c
@@ -28,6 +28,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "flags.h"
#include "gfortran.h"
diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c
index 0b38cac..a107369 100644
--- a/gcc/fortran/expr.c
+++ b/gcc/fortran/expr.c
@@ -22,6 +22,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "gfortran.h"
#include "arith.h"
#include "match.h"
diff --git a/gcc/fortran/frontend-passes.c b/gcc/fortran/frontend-passes.c
index fc32e56..437ed7e 100644
--- a/gcc/fortran/frontend-passes.c
+++ b/gcc/fortran/frontend-passes.c
@@ -20,6 +20,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "gfortran.h"
#include "arith.h"
#include "flags.h"
diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h
index caa23bd..6d75e63 100644
--- a/gcc/fortran/gfortran.h
+++ b/gcc/fortran/gfortran.h
@@ -29,13 +29,16 @@ along with GCC; see the file COPYING3. If not see
multiple header files. Besides, Microsoft's winnt.h was 250k last
time I looked, so by comparison this is perfectly reasonable. */
+#ifndef GCC_CORETYPES_H
+#error "gfortran.h must be included after coretypes.h"
+#endif
+
/* Declarations common to the front-end and library are put in
libgfortran/libgfortran_frontend.h */
#include "libgfortran.h"
#include "intl.h"
-#include "coretypes.h"
#include "input.h"
#include "splay-tree.h"
diff --git a/gcc/fortran/interface.c b/gcc/fortran/interface.c
index 34e1ad7..6f40ba7 100644
--- a/gcc/fortran/interface.c
+++ b/gcc/fortran/interface.c
@@ -67,6 +67,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "gfortran.h"
#include "match.h"
#include "arith.h"
diff --git a/gcc/fortran/intrinsic.c b/gcc/fortran/intrinsic.c
index 88d4636..a7ab56e 100644
--- a/gcc/fortran/intrinsic.c
+++ b/gcc/fortran/intrinsic.c
@@ -23,6 +23,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "flags.h"
#include "gfortran.h"
#include "intrinsic.h"
diff --git a/gcc/fortran/io.c b/gcc/fortran/io.c
index 7caadc5..3bc427d 100644
--- a/gcc/fortran/io.c
+++ b/gcc/fortran/io.c
@@ -22,6 +22,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "flags.h"
#include "gfortran.h"
#include "match.h"
diff --git a/gcc/fortran/match.c b/gcc/fortran/match.c
index 3d63510..f86916a 100644
--- a/gcc/fortran/match.c
+++ b/gcc/fortran/match.c
@@ -22,6 +22,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "flags.h"
#include "gfortran.h"
#include "match.h"
diff --git a/gcc/fortran/matchexp.c b/gcc/fortran/matchexp.c
index cd70dc0..12d5b2d 100644
--- a/gcc/fortran/matchexp.c
+++ b/gcc/fortran/matchexp.c
@@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "gfortran.h"
#include "arith.h"
#include "match.h"
diff --git a/gcc/fortran/misc.c b/gcc/fortran/misc.c
index 012364a..60c3cf1 100644
--- a/gcc/fortran/misc.c
+++ b/gcc/fortran/misc.c
@@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "gfortran.h"
diff --git a/gcc/fortran/module.c b/gcc/fortran/module.c
index 60a74ca..6fe23a2 100644
--- a/gcc/fortran/module.c
+++ b/gcc/fortran/module.c
@@ -68,6 +68,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "gfortran.h"
#include "arith.h"
#include "match.h"
diff --git a/gcc/fortran/openmp.c b/gcc/fortran/openmp.c
index f5a5877..e1ffa6b 100644
--- a/gcc/fortran/openmp.c
+++ b/gcc/fortran/openmp.c
@@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "flags.h"
#include "gfortran.h"
#include "match.h"
diff --git a/gcc/fortran/parse.c b/gcc/fortran/parse.c
index 54c6fc1..ad4e89e 100644
--- a/gcc/fortran/parse.c
+++ b/gcc/fortran/parse.c
@@ -23,6 +23,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
#include <setjmp.h>
+#include "coretypes.h"
#include "gfortran.h"
#include "match.h"
#include "parse.h"
diff --git a/gcc/fortran/primary.c b/gcc/fortran/primary.c
index 41e2fa8..2e71024 100644
--- a/gcc/fortran/primary.c
+++ b/gcc/fortran/primary.c
@@ -22,6 +22,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "flags.h"
#include "gfortran.h"
#include "arith.h"
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c
index 0434e08..5be1857 100644
--- a/gcc/fortran/resolve.c
+++ b/gcc/fortran/resolve.c
@@ -22,6 +22,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "flags.h"
#include "gfortran.h"
#include "obstack.h"
diff --git a/gcc/fortran/scanner.c b/gcc/fortran/scanner.c
index 120d550..4fad58b 100644
--- a/gcc/fortran/scanner.c
+++ b/gcc/fortran/scanner.c
@@ -43,6 +43,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "gfortran.h"
#include "toplev.h" /* For set_src_pwd. */
#include "debug.h"
diff --git a/gcc/fortran/simplify.c b/gcc/fortran/simplify.c
index 1578db1..c7145d6 100644
--- a/gcc/fortran/simplify.c
+++ b/gcc/fortran/simplify.c
@@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "flags.h"
#include "gfortran.h"
#include "arith.h"
diff --git a/gcc/fortran/st.c b/gcc/fortran/st.c
index 932c942..ed379fc 100644
--- a/gcc/fortran/st.c
+++ b/gcc/fortran/st.c
@@ -26,6 +26,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "gfortran.h"
gfc_code new_st;
diff --git a/gcc/fortran/symbol.c b/gcc/fortran/symbol.c
index 6ca4ca3..378f83c 100644
--- a/gcc/fortran/symbol.c
+++ b/gcc/fortran/symbol.c
@@ -23,6 +23,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "flags.h"
#include "gfortran.h"
#include "parse.h"
diff --git a/gcc/fortran/target-memory.c b/gcc/fortran/target-memory.c
index 6387895..637811e 100644
--- a/gcc/fortran/target-memory.c
+++ b/gcc/fortran/target-memory.c
@@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
+#include "coretypes.h"
#include "flags.h"
#include "machmode.h"
#include "tree.h"