OSDN Git Service

* final.c (peephole): Delete prototype.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Oct 1999 19:23:11 +0000 (19:23 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Oct 1999 19:23:11 +0000 (19:23 +0000)
        * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
        (pre_insert_copies): Remove unused variable `bb'.

        * genrecog.c (debug_decision_0, debug_decision_list, main): Add
        prototypes.

        * output.h (peephole): Add prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30144 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/final.c
gcc/gcse.c
gcc/genrecog.c
gcc/output.h

index 43bb042..49c2c36 100644 (file)
@@ -1,3 +1,15 @@
+Sun Oct 24 15:20:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * final.c (peephole): Delete prototype.
+
+       * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
+       (pre_insert_copies): Remove unused variable `bb'.
+
+       * genrecog.c (debug_decision_0, debug_decision_list, main): Add
+       prototypes.
+
+       * output.h (peephole): Add prototype.
+
 Sun Oct 24 11:35:30 1999  Mark P. Mitchell  <mark@codesourcery.com>
 
        * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
index 7402e27..e0092c0 100644 (file)
@@ -285,10 +285,6 @@ struct bb_str {
   int length;                  /* string length */
 };
 
-#ifdef HAVE_peephole
-extern rtx peephole            PROTO((rtx));
-#endif
-
 static struct bb_str *sbb_head = 0;            /* Head of string list.  */
 static struct bb_str **sbb_tail        = &sbb_head;    /* Ptr to store next bb str */
 static int sbb_label_num       = 0;            /* Last label used */
index eb564c0..2486414 100644 (file)
@@ -621,9 +621,9 @@ static int can_disregard_other_sets   PROTO ((struct reg_set **, rtx, int));
 static int handle_avail_expr     PROTO ((rtx, struct expr *));
 static int classic_gcse               PROTO ((void));
 static int one_classic_gcse_pass      PROTO ((int));
-
 static void invalidate_nonnull_info    PROTO ((rtx, rtx));
-
+static rtx process_insert_insn PROTO ((struct expr *));
+static int pre_edge_insert     PROTO ((struct edge_list *, struct expr **));
 \f
 /* Entry point for global common subexpression elimination.
    F is the first instruction in the function.  */
@@ -4553,7 +4553,7 @@ pre_insert_copy_insn (expr, insn)
 static void
 pre_insert_copies ()
 {
-  int i, bb;
+  int i;
 
   /* For each available expression in the table, copy the result to
      `reaching_reg' if the expression reaches a deleted one.
index 664ef50..5aea004 100644 (file)
@@ -302,12 +302,16 @@ static void process_tree
 static void record_insn_name
   PROTO((int, const char *));
 
+static void debug_decision_0
+  PROTO((struct decision *, int, int));
 static void debug_decision_1
   PROTO((struct decision *, int));
 static void debug_decision_2
   PROTO((struct decision_test *));
 extern void debug_decision
   PROTO((struct decision *));
+extern void debug_decision_list
+  PROTO((struct decision *));
 \f
 static void
 message_with_line VPROTO ((int lineno, const char *msg, ...))
@@ -2477,6 +2481,8 @@ process_tree (head, subroutine_type)
   write_subroutine (head, subroutine_type);
 }
 \f
+extern int main PROTO ((int, char **));
+
 int
 main (argc, argv)
      int argc;
index a0f2462..d3fb02c 100644 (file)
@@ -314,6 +314,10 @@ extern void output_deferred_addressed_constants PROTO((void));
 /* Return the size of the constant pool.  */
 extern int get_pool_size               PROTO((void));
 
+#ifdef HAVE_peephole
+extern rtx peephole                    PROTO((rtx));
+#endif
+
 #ifdef TREE_CODE
 /* Write all the constants in the constant pool.  */
 extern void output_constant_pool       PROTO((char *, tree));