aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.stanford.edu>2000-11-03 22:24:21 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-11-03 22:24:21 +0000
commit0e9295cf741f6e6a6ed3bfe0d419002ec867dbc7 (patch)
treef2b01e95a183f0360c1ccbe697b0808a2bd3d8ba /gcc/builtins.c
parentf2682362a5006ec91e05294e8671f9ee0b8e12a9 (diff)
downloadgcc-0e9295cf741f6e6a6ed3bfe0d419002ec867dbc7.zip
gcc-0e9295cf741f6e6a6ed3bfe0d419002ec867dbc7.tar.gz
gcc-0e9295cf741f6e6a6ed3bfe0d419002ec867dbc7.tar.bz2
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
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 7b08013..c058eba 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;