diff options
author | Robert Lipe <robertl@dgii.com> | 1998-02-07 22:55:54 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-02-07 15:55:54 -0700 |
commit | ccd043a9567fdbb092524a5f767066c19152df46 (patch) | |
tree | 4653e3f8759069cc25169a6b0035d7270415f293 /gcc/genopinit.c | |
parent | 6553db017bb3ef9575c4fe8883a6a5ee89f5c620 (diff) | |
download | gcc-ccd043a9567fdbb092524a5f767066c19152df46.zip gcc-ccd043a9567fdbb092524a5f767066c19152df46.tar.gz gcc-ccd043a9567fdbb092524a5f767066c19152df46.tar.bz2 |
c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
* c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
* calls.c (expand_call): Remove unused variables funtree,
n_regs, and tmpmode.
* dbxout.c, except.c: Include <string.h>/<strings.h>.
* 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
<stdlib.h>.
* genextract.c: (walk_rtx) Remove unused variable link.
* genrecog.c: (concat) Remove unreferenced static function.
* prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
* stmt.c: Include <stdlib.h>.
(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
Diffstat (limited to 'gcc/genopinit.c')
-rw-r--r-- | gcc/genopinit.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/genopinit.c b/gcc/genopinit.c index 3087e38..6ee2f4f 100644 --- a/gcc/genopinit.c +++ b/gcc/genopinit.c @@ -1,5 +1,5 @@ /* Generate code to initialize optabs from machine description. - Copyright (C) 1993, 1994, 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. This file is part of GNU CC. @@ -25,6 +25,11 @@ Boston, MA 02111-1307, USA. */ #include "obstack.h" #include <ctype.h> +#ifdef HAVE_STDLIB_H +#include <stdlib.h> +#endif + + static struct obstack obstack; struct obstack *rtl_obstack = &obstack; @@ -354,6 +359,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 \"flags.h\"\n"); printf ("#include \"insn-flags.h\"\n"); |