aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Hayes <mhayes@redhat.com>2000-12-31 23:58:39 +0000
committerMichael Hayes <m.hayes@gcc.gnu.org>2000-12-31 23:58:39 +0000
commit685efa54548aed93f34a130959721df4fd053a79 (patch)
tree7e9d6c5a7da428ac34c782a8cfbede3354ab43a6 /gcc
parente0cf507b2390537ca18112a3e921840b65cd5972 (diff)
downloadgcc-685efa54548aed93f34a130959721df4fd053a79.zip
gcc-685efa54548aed93f34a130959721df4fd053a79.tar.gz
gcc-685efa54548aed93f34a130959721df4fd053a79.tar.bz2
* loop.c (debug_loops): New.
From-SVN: r38572
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/loop.c10
2 files changed, 14 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6c9f7ce..33ac6b0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-01-01 Michael Hayes <mhayes@redhat.com>
+
+ * loop.c (debug_loops): New.
+
2000-12-31 Philip Blundell <philb@gnu.org>
* config/arm/linux-gas.h (CLEAR_INSN_CACHE): Add missing asm
diff --git a/gcc/loop.c b/gcc/loop.c
index 271e36c..50079b1 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -237,6 +237,7 @@ static int iv_add_mult_cost PARAMS ((rtx, rtx, rtx, rtx));
static void loop_dump_aux PARAMS ((const struct loop *, FILE *, int));
void debug_loop PARAMS ((const struct loop *));
+void debug_loops PARAMS ((const struct loops *));
typedef struct rtx_pair
{
@@ -9433,3 +9434,12 @@ debug_loop (loop)
{
flow_loop_dump (loop, stderr, loop_dump_aux, 1);
}
+
+/* Call this function from the debugger to dump LOOPS. */
+
+void
+debug_loops (loops)
+ const struct loops *loops;
+{
+ flow_loops_dump (loops, stderr, loop_dump_aux, 1);
+}