From: Kaveh R. Ghazi Date: Sun, 24 Oct 1999 19:23:11 +0000 (+0000) Subject: final.c (peephole): Delete prototype. X-Git-Tag: prereleases/libstdc++-2.92~9907 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=36f0e0a60c6d6e70f28b9bd4d9e736845b3d40c4;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 43bb042d8bac..49c2c36f5dcb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,15 @@ +Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi + + * 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 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to diff --git a/gcc/final.c b/gcc/final.c index 7402e270e933..e0092c0b0260 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 eb564c0826c4..24864145da4a 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 664ef50f5578..5aea00490f0f 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 a0f24623df0a..d3fb02c33c85 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));