From 79a3f089cc926c3355c93a3f01db1f02ba7a9e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20L=C3=B3pez-Ib=C3=A1=C3=B1ez?= Date: Fri, 9 Jul 2010 01:34:40 +0000 Subject: genrecog.c: Include diagnostic-core.h before toplev.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2010-07-09 Manuel López-Ibáñez * 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. From-SVN: r161983 --- gcc/ChangeLog | 12 ++++++++++++ gcc/genattrtab.c | 3 ++- gcc/genautomata.c | 2 +- gcc/genconditions.c | 1 + gcc/genemit.c | 1 + gcc/genextract.c | 1 + gcc/genoutput.c | 1 + gcc/genpeep.c | 1 + gcc/genpreds.c | 1 + gcc/genrecog.c | 1 + 10 files changed, 22 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e8f680e..73d21e6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,15 @@ +2010-07-09 Manuel López-Ibáñez + + * 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 * lto-section-in.c (lto_section_name): Add missing comma. diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index a86332d..2213b2e 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 91516f8..da7ec65 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 2d93c34..f356519 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 98ec42f..fbf1344 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 2bf9779..694069c 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 a5d6a12..e138fcd 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 b129f94..77d14b8 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 c696470..02379d6 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 bc7767f..9da0aea 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\ -- cgit v1.1