* flow.c (verify_flow_info): Make it extern & unconditionally define.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Wed, 6 Oct 1999 21:23:52 +0000 (21:23 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Wed, 6 Oct 1999 21:23:52 +0000 (21:23 +0000)
From-SVN: r29847

gcc/ChangeLog
gcc/flow.c

index a06faec8b6e2940bbab17ced7faef2cda17f779c..e8d81ba2f9a84415104c48d91b7776cc7d5b5cca 100644 (file)
@@ -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
index 8dbc07e0a5eb8c28efb3a64d727651c84cd1aca9..d224174a8c0d434fc0735dc89fd2f398be88f3ac 100644 (file)
@@ -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));
 \f
 /* 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
 \f
 /* Functions to access an edge list with a vector representation.
    Enough data is kept such that given an index number, the