aboutsummaryrefslogtreecommitdiff
path: root/gcc/genattrtab.c
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2010-07-09 01:34:40 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2010-07-09 01:34:40 +0000
commit79a3f089cc926c3355c93a3f01db1f02ba7a9e04 (patch)
tree2e061f74a786e9b9af44ee0043310637464b8c03 /gcc/genattrtab.c
parent2188fc59636112522cba28b7f3712db33bcfa940 (diff)
downloadgcc-79a3f089cc926c3355c93a3f01db1f02ba7a9e04.zip
gcc-79a3f089cc926c3355c93a3f01db1f02ba7a9e04.tar.gz
gcc-79a3f089cc926c3355c93a3f01db1f02ba7a9e04.tar.bz2
genrecog.c: Include diagnostic-core.h before toplev.h.
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. From-SVN: r161983
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r--gcc/genattrtab.c3
1 files changed, 2 insertions, 1 deletions
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");