flow.c (debug_flow_info): Add prototype.

* 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.

From-SVN: r30262
This commit is contained in:
Kaveh R. Ghazi 1999-10-29 17:51:38 +00:00 committed by Kaveh Ghazi
parent 90e0ee005b
commit a8f227e703
6 changed files with 30 additions and 6 deletions

View File

@ -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

View File

@ -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 **));

View File

@ -4672,6 +4672,8 @@ fatal_error (signum)
kill (getpid (), signum);
}
extern int main PROTO ((int, char **));
int
main (argc, argv)
int argc;

View File

@ -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. */

View File

@ -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], '/');

View File

@ -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. */