From 685efa54548aed93f34a130959721df4fd053a79 Mon Sep 17 00:00:00 2001 From: Michael Hayes Date: Sun, 31 Dec 2000 23:58:39 +0000 Subject: [PATCH] * loop.c (debug_loops): New. From-SVN: r38572 --- gcc/ChangeLog | 4 ++++ gcc/loop.c | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6c9f7ce1630..33ac6b085c0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-01-01 Michael Hayes + + * loop.c (debug_loops): New. + 2000-12-31 Philip Blundell * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Add missing asm diff --git a/gcc/loop.c b/gcc/loop.c index 271e36c508c..50079b1577d 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); +} -- 2.30.2