From 4063e82c82a2048d1a7b28397eba3699ca226d98 Mon Sep 17 00:00:00 2001 From: ghazi Date: Sun, 25 Oct 1998 12:56:39 +0000 Subject: Warning fixes: * Makefile.in (recog.o): Depend on toplev.h. (insn-emit.o): Depend on recog.h. (insn-peep.o): Depend on recog.h and insn-config.h. * combine.c (simplify_set): Remove unused variable `scratches'. * final.c (final_scan_insn): Wrap declaration of variables `vlen' and `idx' in macro conditional controlling their use. * genemit.c (main): Make the generated output file include recog.h. Don't have it declare `insn_operand_constraint', since we get it from recog.h. * genpeep.c (main): Make the generated output file include insn-config.h and recog.h. * recog.c: Include toplev.h. (extract_insn): Remove unused variable `p'. * regclass.c (fix_register): Add missing braces around initializer for `what_option'. (allocate_reg_info): Move variable `i' into the scope where it is used. Change its type to `size_t'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23307 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/genpeep.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/genpeep.c') diff --git a/gcc/genpeep.c b/gcc/genpeep.c index 076f7603560..1430b63665a 100644 --- a/gcc/genpeep.c +++ b/gcc/genpeep.c @@ -467,10 +467,12 @@ from the machine description file `md'. */\n\n"); printf ("#include \"config.h\"\n"); printf ("#include \"system.h\"\n"); + printf ("#include \"insn-config.h\"\n"); printf ("#include \"rtl.h\"\n"); printf ("#include \"regs.h\"\n"); printf ("#include \"output.h\"\n"); printf ("#include \"real.h\"\n"); + printf ("#include \"recog.h\"\n"); printf ("#include \"except.h\"\n\n"); printf ("extern rtx peep_operand[];\n\n"); -- cgit v1.2.1