aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-10-24 19:23:11 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-10-24 19:23:11 +0000
commit36f0e0a60c6d6e70f28b9bd4d9e736845b3d40c4 (patch)
tree03fe5c172a634a5c35dfea2013271fd2f71b73e9 /gcc
parent87bb6e4ba48847edd5462a6359d44d6686859f6e (diff)
downloadgcc-36f0e0a60c6d6e70f28b9bd4d9e736845b3d40c4.zip
gcc-36f0e0a60c6d6e70f28b9bd4d9e736845b3d40c4.tar.gz
gcc-36f0e0a60c6d6e70f28b9bd4d9e736845b3d40c4.tar.bz2
final.c (peephole): Delete prototype.
* 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. From-SVN: r30144
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog12
-rw-r--r--gcc/final.c4
-rw-r--r--gcc/gcse.c6
-rw-r--r--gcc/genrecog.c6
-rw-r--r--gcc/output.h4
5 files changed, 25 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 43bb042..49c2c36 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/final.c b/gcc/final.c
index 7402e27..e0092c0 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -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 */
diff --git a/gcc/gcse.c b/gcc/gcse.c
index eb564c0..2486414 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -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 **));
/* 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.
diff --git a/gcc/genrecog.c b/gcc/genrecog.c
index 664ef50..5aea004 100644
--- a/gcc/genrecog.c
+++ b/gcc/genrecog.c
@@ -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 *));
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);
}
+extern int main PROTO ((int, char **));
+
int
main (argc, argv)
int argc;
diff --git a/gcc/output.h b/gcc/output.h
index a0f2462..d3fb02c 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -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));