From aed0bd19b5ef08f199e841ca5e02df0f069ff234 Mon Sep 17 00:00:00 2001 From: zack Date: Fri, 3 Nov 2000 22:24:21 +0000 Subject: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37237 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/builtins.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'gcc/builtins.c') diff --git a/gcc/builtins.c b/gcc/builtins.c index 7b080134d75..c058ebaca2c 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -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; -- cgit v1.2.1