aboutsummaryrefslogtreecommitdiff
path: root/gcc/genconfig.c
diff options
context:
space:
mode:
authorRobert Lipe <robertl@dgii.com>1998-02-07 22:55:54 +0000
committerJeff Law <law@gcc.gnu.org>1998-02-07 15:55:54 -0700
commitccd043a9567fdbb092524a5f767066c19152df46 (patch)
tree4653e3f8759069cc25169a6b0035d7270415f293 /gcc/genconfig.c
parent6553db017bb3ef9575c4fe8883a6a5ee89f5c620 (diff)
downloadgcc-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/genconfig.c')
-rw-r--r--gcc/genconfig.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/genconfig.c b/gcc/genconfig.c
index 404534e..cc012cb 100644
--- a/gcc/genconfig.c
+++ b/gcc/genconfig.c
@@ -1,7 +1,6 @@
/* Generate from machine description:
-
- some #define configuration flags.
- Copyright (C) 1987, 1991 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1991, 1997 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -26,6 +25,10 @@ Boston, MA 02111-1307, USA. */
#include "rtl.h"
#include "obstack.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
static struct obstack obstack;
struct obstack *rtl_obstack = &obstack;
@@ -142,6 +145,9 @@ walk_insn_part (part, recog_p, non_pc_set_src)
case REG: case CONST_INT: case SYMBOL_REF:
case PC:
return;
+
+ default:
+ break;
}
format_ptr = GET_RTX_FORMAT (GET_CODE (part));