summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog12
-rw-r--r--gcc/genattrtab.c3
-rw-r--r--gcc/genautomata.c2
-rw-r--r--gcc/genconditions.c1
-rw-r--r--gcc/genemit.c1
-rw-r--r--gcc/genextract.c1
-rw-r--r--gcc/genoutput.c1
-rw-r--r--gcc/genpeep.c1
-rw-r--r--gcc/genpreds.c1
-rw-r--r--gcc/genrecog.c1
10 files changed, 22 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e8f680e404d..73d21e6a52a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,15 @@
+2010-07-09 Manuel López-Ibáñez <manu@gcc.gnu.org>
+
+ * genrecog.c: Include diagnostic-core.h before toplev.h.
+ * genoutput.c: Likewise.
+ * genextract.c: Likewise.
+ * genautomata.c: Likewise.
+ * genemit.c: Likewise.
+ * genpeep.c: Likewise.
+ * genattrtab.c: Likewise.
+ * genconditions.c: Likewise.
+ * genpreds.c: Likewise.
+
2010-07-08 Andi Kleen <ak@linux.intel.com>
* lto-section-in.c (lto_section_name): Add missing comma.
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c
index a86332d49e3..2213b2e134f 100644
--- a/gcc/genattrtab.c
+++ b/gcc/genattrtab.c
@@ -4920,7 +4920,8 @@ from the machine description file `md'. */\n\n");
printf ("#include \"recog.h\"\n");
printf ("#include \"regs.h\"\n");
printf ("#include \"output.h\"\n");
- printf ("#include \"toplev.h\"\n");
+ printf ("#include \"diagnostic-core.h\"\n"
+ "#include \"toplev.h\"\n");
printf ("#include \"flags.h\"\n");
printf ("#include \"function.h\"\n");
printf ("\n");
diff --git a/gcc/genautomata.c b/gcc/genautomata.c
index 91516f81335..da7ec65e40c 100644
--- a/gcc/genautomata.c
+++ b/gcc/genautomata.c
@@ -9559,7 +9559,7 @@ main (int argc, char **argv)
"#include \"regs.h\"\n"
"#include \"output.h\"\n"
"#include \"insn-attr.h\"\n"
- "#include \"toplev.h\"\n"
+ "#include \"diagnostic-core.h\"\n"
"#include \"flags.h\"\n"
"#include \"function.h\"\n"
"#include \"emit-rtl.h\"\n");
diff --git a/gcc/genconditions.c b/gcc/genconditions.c
index 2d93c3470d6..f356519935c 100644
--- a/gcc/genconditions.c
+++ b/gcc/genconditions.c
@@ -86,6 +86,7 @@ write_header (void)
#include \"flags.h\"\n\
#include \"hard-reg-set.h\"\n\
#include \"resource.h\"\n\
+#include \"diagnostic-core.h\"\n\
#include \"toplev.h\"\n\
#include \"reload.h\"\n\
#include \"tm-constrs.h\"\n");
diff --git a/gcc/genemit.c b/gcc/genemit.c
index 98ec42fe0c3..fbf134461e8 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -862,6 +862,7 @@ from the machine description file `md'. */\n\n");
printf ("#include \"recog.h\"\n");
printf ("#include \"resource.h\"\n");
printf ("#include \"reload.h\"\n");
+ printf ("#include \"diagnostic-core.h\"\n");
printf ("#include \"toplev.h\"\n");
printf ("#include \"regs.h\"\n");
printf ("#include \"tm-constrs.h\"\n");
diff --git a/gcc/genextract.c b/gcc/genextract.c
index 2bf9779f381..694069c739e 100644
--- a/gcc/genextract.c
+++ b/gcc/genextract.c
@@ -365,6 +365,7 @@ print_header (void)
#include \"rtl.h\"\n\
#include \"insn-config.h\"\n\
#include \"recog.h\"\n\
+#include \"diagnostic-core.h\"\n\
#include \"toplev.h\"\n\
\n\
/* This variable is used as the \"location\" of any missing operand\n\
diff --git a/gcc/genoutput.c b/gcc/genoutput.c
index a5d6a128379..e138fcd4c29 100644
--- a/gcc/genoutput.c
+++ b/gcc/genoutput.c
@@ -240,6 +240,7 @@ output_prologue (void)
printf ("#include \"conditions.h\"\n");
printf ("#include \"insn-attr.h\"\n\n");
printf ("#include \"recog.h\"\n\n");
+ printf ("#include \"diagnostic-core.h\"\n");
printf ("#include \"toplev.h\"\n");
printf ("#include \"output.h\"\n");
printf ("#include \"target.h\"\n");
diff --git a/gcc/genpeep.c b/gcc/genpeep.c
index b129f94b020..77d14b81bec 100644
--- a/gcc/genpeep.c
+++ b/gcc/genpeep.c
@@ -376,6 +376,7 @@ from the machine description file `md'. */\n\n");
printf ("#include \"recog.h\"\n");
printf ("#include \"except.h\"\n");
printf ("#include \"function.h\"\n");
+ printf ("#include \"diagnostic-core.h\"\n");
printf ("#include \"toplev.h\"\n");
printf ("#include \"flags.h\"\n");
printf ("#include \"tm-constrs.h\"\n\n");
diff --git a/gcc/genpreds.c b/gcc/genpreds.c
index c69647042c7..02379d67f34 100644
--- a/gcc/genpreds.c
+++ b/gcc/genpreds.c
@@ -1337,6 +1337,7 @@ write_insn_preds_c (void)
#include \"flags.h\"\n\
#include \"hard-reg-set.h\"\n\
#include \"resource.h\"\n\
+#include \"diagnostic-core.h\"\n\
#include \"toplev.h\"\n\
#include \"reload.h\"\n\
#include \"regs.h\"\n\
diff --git a/gcc/genrecog.c b/gcc/genrecog.c
index bc7767f192c..9da0aeabb37 100644
--- a/gcc/genrecog.c
+++ b/gcc/genrecog.c
@@ -2448,6 +2448,7 @@ write_header (void)
#include \"flags.h\"\n\
#include \"hard-reg-set.h\"\n\
#include \"resource.h\"\n\
+#include \"diagnostic-core.h\"\n\
#include \"toplev.h\"\n\
#include \"reload.h\"\n\
#include \"regs.h\"\n\