From 2a43678beed809fa59cefb614575805d58b38724 Mon Sep 17 00:00:00 2001 From: law Date: Fri, 17 Apr 1998 00:40:39 +0000 Subject: [PATCH] * varasm.c (asm_output_bss): Add prototype. (asm_output_aligned_bss): Likewise. * unroll.c (verify_addresses): Add prototype. * toplev.c: Add many prototypes. Too many to mention here. * stmt.c (check_seenlabel): Add prototype. * rtlanal.c (reg_set_p_1): Add prototype. (reg_set_last_1): Likewise. * reorg.c (find_dead_or_set_registers): Add prototype. * regmove (try_auto_increment): Add prototype. * regstack.c (pop_stack): Add prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19254 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/reg-stack.c | 1 + gcc/regmove.c | 1 + gcc/reorg.c | 3 +++ gcc/rtlanal.c | 2 ++ gcc/stmt.c | 1 + gcc/toplev.c | 29 ++++++++++++++++++++++++++++- gcc/unroll.c | 1 + gcc/varasm.c | 6 ++++++ 8 files changed, 43 insertions(+), 1 deletion(-) diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index c781d0d2926..45a533edb8b 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -237,6 +237,7 @@ extern rtx forced_labels; static void mark_regs_pat PROTO((rtx, HARD_REG_SET *)); static void straighten_stack PROTO((rtx, stack)); +static void pop_stack PROTO((stack, int)); static void record_label_references PROTO((rtx, rtx)); static rtx *get_true_reg PROTO((rtx *)); static int constrain_asm_operands PROTO((int, rtx *, char **, int *, diff --git a/gcc/regmove.c b/gcc/regmove.c index 54a54b309a9..d3c25fd4055 100644 --- a/gcc/regmove.c +++ b/gcc/regmove.c @@ -55,6 +55,7 @@ struct match { int early_clobber[MAX_RECOG_OPERANDS]; }; +static int try_auto_increment PROTO((rtx, rtx, rtx, rtx, HOST_WIDE_INT, int)); static int find_matches PROTO((rtx, struct match *)); static int fixup_match_1 PROTO((rtx, rtx, rtx, rtx, rtx, int, int, int, FILE *)) ; diff --git a/gcc/reorg.c b/gcc/reorg.c index d74ba1040a9..68486b0ffec 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -264,6 +264,9 @@ static void fix_reg_dead_note PROTO((rtx, rtx)); static void update_reg_unused_notes PROTO((rtx, rtx)); static void update_live_status PROTO((rtx, rtx)); static rtx next_insn_no_annul PROTO((rtx)); +static rtx find_dead_or_set_registers PROTO ((rtx, struct resources *, rtx *, + int, struct resources, + struct resources)); static void mark_target_live_regs PROTO((rtx, struct resources *)); static void fill_simple_delay_slots PROTO((int)); static rtx fill_slots_from_thread PROTO((rtx, rtx, rtx, rtx, int, int, diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 4d75e79086a..22215ae0cde 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -24,6 +24,8 @@ Boston, MA 02111-1307, USA. */ #include "rtl.h" static int rtx_addr_can_trap_p PROTO((rtx)); +static void reg_set_p_1 PROTO((rtx, rtx)); +static void reg_set_last_1 PROTO((rtx, rtx)); /* Forward declarations */ diff --git a/gcc/stmt.c b/gcc/stmt.c index c436555434d..611da701018 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -436,6 +436,7 @@ static void expand_null_return_1 PROTO((rtx, int)); static void expand_value_return PROTO((rtx)); static int tail_recursion_args PROTO((tree, tree)); static void expand_cleanups PROTO((tree, tree, int, int)); +static void check_seenlabel PROTO((void)); static void do_jump_if_equal PROTO((rtx, rtx, rtx, int)); static int estimate_case_costs PROTO((case_node_ptr)); static void group_case_nodes PROTO((case_node_ptr)); diff --git a/gcc/toplev.c b/gcc/toplev.c index 96c21e39e73..a4674c6a27a 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -166,7 +166,34 @@ void sorry PVPROTO((char *s, ...)); void really_sorry PVPROTO((char *s, ...)); void fancy_abort (); void set_target_switch (); -static char *decl_name (); +static char *decl_name PROTO((tree, int)); +static void vmessage PROTO((char *, char *, va_list)); +static void v_message_with_file_and_line PROTO((char *, int, char *, + char *, va_list)); +static void v_message_with_decl PROTO((tree, char *, char *, va_list)); +static void file_and_line_for_asm PROTO((rtx, char **, int *)); +static void v_error_with_file_and_line PROTO((char *, int, char *, va_list)); +static void v_error_with_decl PROTO((tree, char *, va_list)); +static void v_error_for_asm PROTO((rtx, char *, va_list)); +static void verror PROTO((char *, va_list)); +static void vfatal PROTO((char *, va_list)); +static void v_warning_with_file_and_line PROTO ((char *, int, char *, va_list)); +static void v_warning_with_decl PROTO((tree, char *, va_list)); +static void v_warning_for_asm PROTO((rtx, char *, va_list)); +static void vwarning PROTO((char *, va_list)); +static void vpedwarn PROTO((char *, va_list)); +static void v_pedwarn_with_decl PROTO((tree, char *, va_list)); +static void v_pedwarn_with_file_and_line PROTO((char *, int, char *, va_list)); +static void vsorry PROTO((char *, va_list)); +static void v_really_sorry PROTO((char *, va_list)); +static void float_signal PROTO((int)); +static void pipe_closed PROTO((int)); +static void output_lang_identify PROTO((FILE *)); +static void open_dump_file PROTO((char *, char *)); +static void close_dump_file PROTO((void (*) (FILE *, rtx), rtx)); +static void dump_rtl PROTO((char *, tree, void (*) (FILE *, rtx), rtx)); +static void clean_dump_file PROTO((char *)); +static void compile_file PROTO((char *)); void print_version (); int print_single_switch (); diff --git a/gcc/unroll.c b/gcc/unroll.c index 7e4483ea495..c21e69f93f9 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -210,6 +210,7 @@ static int find_splittable_givs PROTO((struct iv_class *,enum unroll_types, rtx, rtx, rtx, int)); static int reg_dead_after_loop PROTO((rtx, rtx, rtx)); static rtx fold_rtx_mult_add PROTO((rtx, rtx, rtx, enum machine_mode)); +static int verify_addresses PROTO((struct induction *, rtx, int)); static rtx remap_split_bivs PROTO((rtx)); /* Try to unroll one loop and split induction variables in the loop. diff --git a/gcc/varasm.c b/gcc/varasm.c index e4d1d0de4eb..f075d614ebe 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -159,6 +159,12 @@ static void mark_constants PROTO((rtx)); static int output_addressed_constants PROTO((tree)); static void output_after_function_constants PROTO((void)); static void output_constructor PROTO((tree, int)); +#ifdef ASM_OUTPUT_BSS +static void asm_output_bss PROTO((FILE *, tree, char *, int, int)); +#endif +#ifdef ASM_OUTPUT_ALIGNED_BSS +static void asm_output_aligned_bss PROTO((FILE *, tree, char *, int, int)); +#endif static enum in_section { no_section, in_text, in_data, in_named #ifdef BSS_SECTION_ASM_OP -- 2.11.0