builtins.c (expand_builtin_strlen): Remove unused mode argument.
authorZack Weinberg <zack@wolery.stanford.edu>
Fri, 3 Nov 2000 22:24:21 +0000 (22:24 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Fri, 3 Nov 2000 22:24:21 +0000 (22:24 +0000)
* 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

gcc/ChangeLog
gcc/Makefile.in
gcc/builtins.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/fold-const.c
gcc/gcc.c
gcc/recog.c

index a5cc3136d7baff019a00258ec97cb6e13dbb1f14..220929fa569a0dd78711ad06f1092a5887fdc475 100644 (file)
@@ -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'.
index 95fa84a4f5a81e7b9d86e43b2d1c657df7ca054d..df2016dc4c04a1f8c80b811783db38b17ecba91c 100644 (file)
@@ -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
index 7b080134d7504fb62e30cec8decee526b64dd4b9..c058ebaca2c401057f3fb6e8dd4a7ec95c8aa8fc 100644 (file)
@@ -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;
index 9075e79d1549a9bb710dac920a2c85a6f2f46978..f180ac1db3e8878a296fe6fb2b9db6b953859ef0 100644 (file)
@@ -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 ().
index 5f10b2c41290614825c8eecc62cf420ba1a267bd..d4d9bbaa80d225f473a366879c745fdf6777a464 100644 (file)
@@ -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;
 
index 25fd4964519cee68d5b3820ce1e42cd567e72cb3..58d84ef3dd9f90336e9c7f50f22754e7850dd5c9 100644 (file)
@@ -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"
index 901a3cc5848a9cfe1e11c88f0f05b3decf1e826f..30ae0b164e81509f9dd84d53d3508c93d8a87fe7 100644 (file)
--- 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;
index b7cc2b7377df074248f279498dfd12ad59bef804..1d5a8a61a0268bb69dd83c1fca777ce06cfe6841 100644 (file)
@@ -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