From ccd043a9567fdbb092524a5f767066c19152df46 Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Sat, 7 Feb 1998 22:55:54 +0000 Subject: c-common.c: Include and /. * c-common.c: Include and /. * calls.c (expand_call): Remove unused variables funtree, n_regs, and tmpmode. * dbxout.c, except.c: Include /. * explow.c: (plus_constant_for_output_wide) Removed unused variable all_constant. * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c, genrecog.c, global.c, integrate.c , stupid.c : Include . * genextract.c: (walk_rtx) Remove unused variable link. * genrecog.c: (concat) Remove unreferenced static function. * prefix.c: Include /, * stmt.c: Include . (expand_asm_operands): Remove unused variable val1. (expand_return): Remove unused variable block. (pushcase): Remove unused variables l and n. (pushcaserange): Likewise. * unroll.c (unroll_loop): Remove unused variable temp. From-SVN: r17766 --- gcc/genextract.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'gcc/genextract.c') diff --git a/gcc/genextract.c b/gcc/genextract.c index f222de1..3577a2f 100644 --- a/gcc/genextract.c +++ b/gcc/genextract.c @@ -1,5 +1,5 @@ /* Generate code from machine description to extract operands from insn as rtl. - Copyright (C) 1987, 1991, 1992, 1993 Free Software Foundation, Inc. + Copyright (C) 1987, 1991, 1992, 1993, 1997 Free Software Foundation, Inc. This file is part of GNU CC. @@ -25,6 +25,10 @@ Boston, MA 02111-1307, USA. */ #include "obstack.h" #include "insn-config.h" +#ifdef HAVE_STDLIB_H +#include +#endif + static struct obstack obstack; struct obstack *rtl_obstack = &obstack; @@ -196,7 +200,6 @@ walk_rtx (x, path) register int i; register int len; register char *fmt; - register struct code_ptr *link; int depth = strlen (path); char *newpath; @@ -275,6 +278,9 @@ walk_rtx (x, path) case ADDRESS: walk_rtx (XEXP (x, 0), path); return; + + default: + break; } newpath = (char *) alloca (depth + 2); @@ -438,6 +444,7 @@ main (argc, argv) from the machine description file `md'. */\n\n"); printf ("#include \"config.h\"\n"); + printf ("#include \n"); printf ("#include \"rtl.h\"\n\n"); /* This variable exists only so it can be the "location" -- cgit v1.1