aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/Makefile.in4
-rw-r--r--gcc/builtins.c11
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl.c1
-rw-r--r--gcc/fold-const.c1
-rw-r--r--gcc/gcc.c1
-rw-r--r--gcc/recog.c1
8 files changed, 22 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a5cc313..220929f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,12 @@
+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'.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 95fa84a..df2016d 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -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
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;
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 9075e79..f180ac1 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+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 ().
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 5f10b2c..d4d9bba 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -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;
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 25fd496..58d84ef 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -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"
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 901a3cc..30ae0b1 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -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;
diff --git a/gcc/recog.c b/gcc/recog.c
index b7cc2b7..1d5a8a6 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -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