summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/genpeep.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-03 21:37:38 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-03 21:37:38 +0000
commitc826e751760901de543f4640467e3a08df7f49bf (patch)
tree6a2323a78664ba45b78df1709ff3cc077db63ccd /gnu/usr.bin/gcc/genpeep.c
parenta4511fe6a5dc69a771b5ffdf64ba574c959cf37d (diff)
GCC 2.8.0 merge
Diffstat (limited to 'gnu/usr.bin/gcc/genpeep.c')
-rw-r--r--gnu/usr.bin/gcc/genpeep.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/usr.bin/gcc/genpeep.c b/gnu/usr.bin/gcc/genpeep.c
index ba2328d1f3e..b20fd0d0220 100644
--- a/gnu/usr.bin/gcc/genpeep.c
+++ b/gnu/usr.bin/gcc/genpeep.c
@@ -1,5 +1,5 @@
/* Generate code from machine description to perform peephole optimizations.
- Copyright (C) 1987, 1989, 1992 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1989, 1992, 1997 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -48,7 +48,6 @@ struct link
char *xmalloc ();
static void match_rtx ();
-static void gen_exp ();
static void fatal ();
void fancy_abort ();
@@ -264,6 +263,9 @@ match_rtx (x, path, fail_label)
case ADDRESS:
match_rtx (XEXP (x, 0), path, fail_label);
return;
+
+ default:
+ break;
}
printf (" x = ");
@@ -455,6 +457,7 @@ main (argc, argv)
from the machine description file `md'. */\n\n");
printf ("#include \"config.h\"\n");
+ printf ("#include <stdio.h>\n");
printf ("#include \"rtl.h\"\n");
printf ("#include \"regs.h\"\n");
printf ("#include \"output.h\"\n");