From a24da858abcb8a310a27c6e20793e56ab4810369 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 20 Jun 1998 23:55:13 +0000 Subject: [PATCH] flow.c (allocate_for_life_analysis, [...]): Remove declaration. * flow.c (allocate_for_life_analysis, init_regset_vector): Remove declaration. * function.h (get_first_block_beg): New declaration. * gbl-ctors.h (__do_global_dtors): Add prototype. * gcov-io.h (__fetch_long): New declaration. (__store_long): Likewise. (__read_long): Likewise. (__write_long): Likewise. * gcov.c (print_usage): New declaration. * Makefile.in (c-iterate.o): Depend on insn-codes.h too. From-SVN: r20631 --- gcc/ChangeLog | 18 ++++++++++++++++++ gcc/Makefile.in | 2 +- gcc/flow.c | 2 -- gcc/function.h | 2 ++ gcc/gbl-ctors.h | 2 +- gcc/gcov-io.h | 5 +++++ gcc/gcov.c | 1 + 7 files changed, 28 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c626e8f381d..f5b0caa81a7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,21 @@ +Sun Jun 21 00:42:20 1998 H.J. Lu (hjl@gnu.org) + + * flow.c (allocate_for_life_analysis, init_regset_vector): + Remove declaration. + + * function.h (get_first_block_beg): New declaration. + + * gbl-ctors.h (__do_global_dtors): Add prototype. + + * gcov-io.h (__fetch_long): New declaration. + (__store_long): Likewise. + (__read_long): Likewise. + (__write_long): Likewise. + + * gcov.c (print_usage): New declaration. + + * Makefile.in (c-iterate.o): Depend on insn-codes.h too. + Sat Jun 20 00:36:16 1998 Jeffrey A Law (law@cygnus.com) * calls.c (expand_call): Initialize "src" and "dest". diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 1a61afd2546..f45317261bf 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1272,7 +1272,7 @@ c-convert.o : c-convert.c $(CONFIG_H) system.h $(TREE_H) flags.h toplev.h c-pragma.o: c-pragma.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) except.h \ function.h defaults.h c-pragma.h toplev.h c-iterate.o: c-iterate.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) c-tree.h \ - flags.h toplev.h expr.h + flags.h toplev.h expr.h insn-codes.h collect2$(exeext): collect2.o tlink.o hash.o cplus-dem.o underscore.o \ version.o choose-temp.o $(LIBDEPS) diff --git a/gcc/flow.c b/gcc/flow.c index 6579e3b405b..fa77fae12ca 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -261,8 +261,6 @@ static HARD_REG_SET elim_reg_set; static void find_basic_blocks_1 PROTO((rtx, rtx, int)); static void mark_label_ref PROTO((rtx, rtx, int)); static void life_analysis_1 PROTO((rtx, int)); -void allocate_for_life_analysis PROTO((void)); -void init_regset_vector PROTO((regset *, int, struct obstack *)); static void propagate_block PROTO((regset, rtx, rtx, int, regset, int)); static rtx flow_delete_insn PROTO((rtx)); diff --git a/gcc/function.h b/gcc/function.h index e06366c9478..f9b9a9a924b 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -259,6 +259,8 @@ extern void restore_emit_status PROTO((struct function *)); extern void save_storage_status PROTO((struct function *)); extern void restore_storage_status PROTO((struct function *)); +extern rtx get_first_block_beg PROTO((void)); + #ifdef rtx #undef rtx #endif diff --git a/gcc/gbl-ctors.h b/gcc/gbl-ctors.h index 50e0e567636..281dcd6e8d1 100644 --- a/gcc/gbl-ctors.h +++ b/gcc/gbl-ctors.h @@ -60,7 +60,7 @@ extern func_ptr __DTOR_LIST__[]; /* Declare the routine which need to get invoked at program exit time. */ -extern void __do_global_dtors (); +extern void __do_global_dtors (void); /* Define a macro with the code which needs to be executed at program start-up time. This macro is used in two places in crtstuff.c (for diff --git a/gcc/gcov-io.h b/gcc/gcov-io.h index e49511d29bb..c2949a311af 100644 --- a/gcc/gcov-io.h +++ b/gcc/gcov-io.h @@ -24,6 +24,11 @@ Boston, MA 02111-1307, USA. */ #include #include +static int __fetch_long PROTO ((long *, char *, int)); +static int __store_long PROTO ((long, char *, size_t)); +static int __read_long PROTO ((long *, FILE *, size_t)); +static int __write_long PROTO ((long, FILE *, size_t)); + /* These routines only work for signed values. */ /* Store a portable representation of VALUE in DEST using BYTES*8-1 bits. diff --git a/gcc/gcov.c b/gcc/gcov.c index c546bdce7b7..eff68f1608a 100644 --- a/gcc/gcov.c +++ b/gcc/gcov.c @@ -218,6 +218,7 @@ static void open_files PROTO ((void)); static void read_files PROTO ((void)); static void scan_for_source_files PROTO ((void)); static void output_data PROTO ((void)); +static void print_usage PROTO ((void)); char * xmalloc (); int