aboutsummaryrefslogtreecommitdiff
path: root/gcc/genemit.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-10-25 12:56:39 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-10-25 12:56:39 +0000
commit7f7f8214d89ae2bdf81fe00164dd0425963c84e7 (patch)
tree405d41ea5dc676768af2042609fcb9a3b301d85d /gcc/genemit.c
parent506b3b3ac9c3346cec94d15713ef8e8ae8221212 (diff)
downloadgcc-7f7f8214d89ae2bdf81fe00164dd0425963c84e7.zip
gcc-7f7f8214d89ae2bdf81fe00164dd0425963c84e7.tar.gz
gcc-7f7f8214d89ae2bdf81fe00164dd0425963c84e7.tar.bz2
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'. From-SVN: r23307
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r--gcc/genemit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c
index c9e2836..d928130 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -771,11 +771,11 @@ from the machine description file `md'. */\n\n");
printf ("#include \"real.h\"\n");
printf ("#include \"flags.h\"\n");
printf ("#include \"output.h\"\n");
- printf ("#include \"insn-config.h\"\n\n");
- printf ("#include \"insn-flags.h\"\n\n");
- printf ("#include \"insn-codes.h\"\n\n");
- printf ("#include \"reload.h\"\n");
- printf ("extern char *insn_operand_constraint[][MAX_RECOG_OPERANDS];\n\n");
+ printf ("#include \"insn-config.h\"\n");
+ printf ("#include \"insn-flags.h\"\n");
+ printf ("#include \"insn-codes.h\"\n");
+ printf ("#include \"recog.h\"\n");
+ printf ("#include \"reload.h\"\n\n");
printf ("extern rtx recog_operand[];\n");
printf ("#define operands emit_operand\n\n");
printf ("#define FAIL return (end_sequence (), _val)\n");