Commit 0e9295cf by Zack Weinberg Committed by Zack Weinberg

builtins.c (expand_builtin_strlen): Remove unused mode argument.

	* builtins.c (expand_builtin_strlen): Remove unused mode
	argument.
	* gcc.c (process_command): Remove unused variable.
	* fold-const.c: Include expr.h.
	* recog.c: Include reload.h.
	* Makefile.in (recog.o, fold-const.o): Update deps.
cp:
	* decl.c: Include tm_p.h.

From-SVN: r37237
parent f2682362
2000-11-03 Zack Weinberg <zack@wolery.stanford.edu>
* builtins.c (expand_builtin_strlen): Remove unused mode
argument.
* gcc.c (process_command): Remove unused variable.
* fold-const.c: Include expr.h.
* recog.c: Include reload.h.
* Makefile.in (recog.o, fold-const.o): Update deps.
2000-11-02 Geoffrey Keating <geoffk@cygnus.com>
* fixinc/gnu-regex.c: Change 'CYGNUS LOCAL' to 'EGCS LOCAL'.
......
......@@ -1284,7 +1284,7 @@ print-tree.o : print-tree.c $(CONFIG_H) system.h $(TREE_H) $(GGC_H)
stor-layout.o : stor-layout.c $(CONFIG_H) system.h $(TREE_H) flags.h \
function.h $(EXPR_H) $(RTL_H) toplev.h $(GGC_H)
fold-const.o : fold-const.c $(CONFIG_H) system.h $(TREE_H) flags.h toplev.h \
$(RTL_H) $(GGC_H)
$(EXPR_H) $(RTL_H) $(GGC_H)
diagnostic.o : diagnostic.c diagnostic.h \
$(CONFIG_H) system.h $(TREE_H) $(RTL_H) tm_p.h flags.h \
$(GGC_H) input.h $(INSN_ATTR_H) insn-codes.h insn-config.h toplev.h intl.h
......@@ -1440,7 +1440,7 @@ final.o : final.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h intl.h \
dbxout.h $(BASIC_BLOCK_H)
recog.o : recog.c $(CONFIG_H) system.h $(RTL_H) function.h $(BASIC_BLOCK_H) \
$(REGS_H) $(RECOG_H) hard-reg-set.h flags.h insn-config.h $(INSN_ATTR_H) \
insn-flags.h insn-codes.h real.h toplev.h output.h
insn-flags.h insn-codes.h real.h toplev.h output.h reload.h
reg-stack.o : reg-stack.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) $(RECOG_H) \
$(REGS_H) hard-reg-set.h flags.h insn-config.h insn-flags.h toplev.h \
varray.h function.h
......
......@@ -106,8 +106,7 @@ static rtx expand_builtin_memcpy PARAMS ((tree));
static rtx expand_builtin_strcpy PARAMS ((tree));
static rtx expand_builtin_memset PARAMS ((tree));
static rtx expand_builtin_bzero PARAMS ((tree));
static rtx expand_builtin_strlen PARAMS ((tree, rtx,
enum machine_mode));
static rtx expand_builtin_strlen PARAMS ((tree, rtx));
static rtx expand_builtin_strstr PARAMS ((tree, rtx,
enum machine_mode));
static rtx expand_builtin_alloca PARAMS ((tree, rtx));
......@@ -1298,14 +1297,12 @@ expand_builtin_mathfn (exp, target, subtarget)
/* Expand expression EXP which is a call to the strlen builtin. Return 0
if we failed the caller should emit a normal call, otherwise
try to get the result in TARGET, if convenient (and in mode MODE if that's
convenient). */
try to get the result in TARGET, if convenient. */
static rtx
expand_builtin_strlen (exp, target, mode)
expand_builtin_strlen (exp, target)
tree exp;
rtx target;
enum machine_mode mode;
{
tree arglist = TREE_OPERAND (exp, 1);
enum machine_mode value_mode = TYPE_MODE (TREE_TYPE (exp));
......@@ -2624,7 +2621,7 @@ expand_builtin (exp, target, subtarget, mode, ignore)
break;
case BUILT_IN_STRLEN:
target = expand_builtin_strlen (exp, target, mode);
target = expand_builtin_strlen (exp, target);
if (target)
return target;
break;
......
2000-11-03 Zack Weinberg <zack@wolery.stanford.edu>
* decl.c: Include tm_p.h.
2000-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
* tree.c (cp_tree_equal): Use memcmp () instead of bcmp ().
......
......@@ -43,6 +43,7 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h"
#include "../hash.h"
#include "ggc.h"
#include "tm_p.h"
extern int current_class_depth;
......
......@@ -48,6 +48,7 @@ Boston, MA 02111-1307, USA. */
#include "flags.h"
#include "tree.h"
#include "rtl.h"
#include "expr.h"
#include "tm_p.h"
#include "toplev.h"
#include "ggc.h"
......
......@@ -2871,7 +2871,6 @@ process_command (argc, argv)
const char *const *argv;
{
register int i;
unsigned int j;
const char *temp;
char *temp1;
const char *spec_lang = 0;
......
......@@ -37,6 +37,7 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h"
#include "basic-block.h"
#include "output.h"
#include "reload.h"
#ifndef STACK_PUSH_CODE
#ifdef STACK_GROWS_DOWNWARD
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment