* flow.c (debug_flow_info): Add prototype.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Oct 1999 17:51:38 +0000 (17:51 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Oct 1999 17:51:38 +0000 (17:51 +0000)
        * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30262 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/flow.c
gcc/gcc.c
gcc/gcse.c
gcc/mips-tfile.c
gcc/reload1.c

index bb5e334..646dcc5 100644 (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
index 8758ea8..2dee6f9 100644 (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 **));
index 465f522..86c3f67 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -4672,6 +4672,8 @@ fatal_error (signum)
   kill (getpid (), signum);
 }
 
+extern int main PROTO ((int, char **));
+
 int
 main (argc, argv)
      int argc;
index 7c0a115..e2d7cf7 100644 (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 *));
 \f
 /* Entry point for global common subexpression elimination.
    F is the first instruction in the function.  */
index cbe7349..e6042f8 100644 (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;
 \f
 #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))
 \f
 /* 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], '/');
index 2909519..98a246b 100644 (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 *));
 \f
 /* Initialize the reload pass once per compilation.  */