diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-10-06 21:23:52 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-10-06 21:23:52 +0000 |
commit | dd6d68a933873f79f399cd66c0f340fa8c5d9c73 (patch) | |
tree | ec6c8769f19f0068e6374ea519557073c618d46e | |
parent | 129a720f0a411ceb6513c3ea18314bbfd11f60a7 (diff) | |
download | gcc-dd6d68a933873f79f399cd66c0f340fa8c5d9c73.zip gcc-dd6d68a933873f79f399cd66c0f340fa8c5d9c73.tar.gz gcc-dd6d68a933873f79f399cd66c0f340fa8c5d9c73.tar.bz2 |
* flow.c (verify_flow_info): Make it extern & unconditionally define.
From-SVN: r29847
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/flow.c | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a06faec..e8d81ba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * flow.c (verify_flow_info): Make it extern & unconditionally define. + 1999-10-06 Brendan Kehoe <brendan@cygnus.com> * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc @@ -354,15 +354,17 @@ static int maybe_add_dead_note PROTO ((rtx, rtx, rtx)); static int sets_reg_or_subreg PROTO ((rtx, rtx)); static void update_n_sets PROTO ((rtx, int)); static void new_insn_dead_notes PROTO ((rtx, rtx, rtx, rtx, rtx, rtx)); -#ifdef ENABLE_CHECKING -static void verify_flow_info PROTO ((void)); -#endif static void split_hard_reg_notes PROTO ((rtx, rtx, rtx, rtx)); static rtx find_insn_with_note PROTO ((rtx, rtx, rtx)); static void sets_reg_or_subreg_1 PROTO ((rtx, rtx)); static rtx prepend_reg_notes PROTO ((rtx, rtx)); static void remove_edge PROTO ((edge)); static void remove_fake_successors PROTO ((basic_block)); + +/* This function is always defined so it can be called from the + debugger, and it is declared extern so we don't get warnings about + it being unused. */ +extern void verify_flow_info PROTO ((void)); /* Find basic blocks of the current function. F is the first insn of the function and NREGS the number of register @@ -6480,8 +6482,7 @@ replace_insns (first, last, first_new, notes) In future it can be extended check a lot of other stuff as well (reachability of basic blocks, life information, etc. etc.). */ -#ifdef ENABLE_CHECKING -static void +void verify_flow_info () { const int max_uid = get_max_uid (); @@ -6684,7 +6685,6 @@ verify_flow_info () x = NEXT_INSN (x); } } -#endif /* Functions to access an edge list with a vector representation. Enough data is kept such that given an index number, the |