diff options
-rw-r--r-- | gcc/ChangeLog | 15 | ||||
-rw-r--r-- | gcc/flow.c | 1 | ||||
-rw-r--r-- | gcc/gcc.c | 2 | ||||
-rw-r--r-- | gcc/gcse.c | 2 | ||||
-rw-r--r-- | gcc/mips-tfile.c | 14 | ||||
-rw-r--r-- | gcc/reload1.c | 2 |
6 files changed, 30 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bb5e334..646dcc5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,18 @@ +Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * flow.c (debug_flow_info): Add prototype. + + * gcc.c (main): Likewise. + + * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work): + Likewise. + + * reload1.c (failed_reload, set_reload_reg): Likewise. + + * mips-tfile.c (main): Likewise. + (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark + with ATTRIBUTE_NORETURN. + Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com> * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if @@ -349,6 +349,7 @@ static int try_pre_increment PROTO((rtx, rtx, HOST_WIDE_INT)); #endif static void mark_used_regs PROTO((regset, regset, rtx, int, rtx)); void dump_flow_info PROTO((FILE *)); +void debug_flow_info PROTO((void)); static void dump_edge_info PROTO((FILE *, edge, int)); static int_list_ptr alloc_int_list_node PROTO ((int_list_block **)); @@ -4672,6 +4672,8 @@ fatal_error (signum) kill (getpid (), signum); } +extern int main PROTO ((int, char **)); + int main (argc, argv) int argc; @@ -624,6 +624,8 @@ static int one_classic_gcse_pass PROTO ((int)); static void invalidate_nonnull_info PROTO ((rtx, rtx, void *)); static rtx process_insert_insn PROTO ((struct expr *)); static int pre_edge_insert PROTO ((struct edge_list *, struct expr **)); +static int expr_reaches_here_p_work PROTO ((struct occr *, struct expr *, int, int, char *)); +static int pre_expr_reaches_here_p_work PROTO ((int, struct expr *, int, int, char *)); /* Entry point for global common subexpression elimination. F is the first instruction in the function. */ diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c index cbe7349..e6042f8 100644 --- a/gcc/mips-tfile.c +++ b/gcc/mips-tfile.c @@ -633,11 +633,11 @@ typedef const PTR_T CPTR_T; so they can't be static. */ extern void pfatal_with_name - __proto((const char *)); -extern void fancy_abort __proto((void)); - void botch __proto((const char *)); + __proto((const char *)) ATTRIBUTE_NORETURN; +extern void fancy_abort __proto((void)) ATTRIBUTE_NORETURN; + void botch __proto((const char *)) ATTRIBUTE_NORETURN; -extern void fatal PVPROTO((const char *format, ...)) ATTRIBUTE_PRINTF_1; +extern void fatal PVPROTO((const char *format, ...)) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN; extern void error PVPROTO((const char *format, ...)) ATTRIBUTE_PRINTF_1; #ifndef MIPS_DEBUGGING_INFO @@ -1661,7 +1661,7 @@ STATIC void parse_stabn __proto((const char *)); STATIC page_t *read_seek __proto((Size_t, off_t, const char *)); STATIC void copy_object __proto((void)); -STATIC void catch_signal __proto((int)); +STATIC void catch_signal __proto((int)) ATTRIBUTE_NORETURN; STATIC page_t *allocate_page __proto((void)); STATIC page_t *allocate_multiple_pages @@ -4801,10 +4801,12 @@ copy_object __proto((void)) /* Ye olde main program. */ +extern int main PROTO ((int, char **)); + int main (argc, argv) int argc; - char *argv[]; + char **argv; { int iflag = 0; char *p = local_rindex (argv[0], '/'); diff --git a/gcc/reload1.c b/gcc/reload1.c index 2909519..98a246b 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -454,6 +454,8 @@ static void add_auto_inc_notes PROTO((rtx, rtx)); #endif static rtx gen_mode_int PROTO((enum machine_mode, HOST_WIDE_INT)); +static void failed_reload PROTO((rtx, int)); +static int set_reload_reg PROTO((int, int)); extern void dump_needs PROTO((struct insn_chain *, FILE *)); /* Initialize the reload pass once per compilation. */ |