diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-03 22:24:21 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-03 22:24:21 +0000 |
commit | aed0bd19b5ef08f199e841ca5e02df0f069ff234 (patch) | |
tree | f2b01e95a183f0360c1ccbe697b0808a2bd3d8ba /gcc/builtins.c | |
parent | 572d60b4a31f0491e5aac2d50aef0d71b1028d86 (diff) | |
download | gcc-aed0bd19b5ef08f199e841ca5e02df0f069ff234.tar.gz |
* 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
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 11 |
1 files changed, 4 insertions, 7 deletions
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; |