This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Loop debugging patch
- To: Michael Hayes <mhayes at cygnus dot com>
- Subject: Re: Loop debugging patch
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 23 Aug 2000 08:51:34 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <14757.1208.234556.212653@paradise.net.nz>you write:
> --Multipart_Thu_Aug_24_23:25:27_2000-1
> Content-Type: text/plain; charset=US-ASCII
>
>
> This patch adds a new debugger function, debug_loop, and allows a
> callback function to be passed to flow_loops_dump to allow pass
> specific debug information to be dumped.
Which presumably is used to verify that the loop information currently
computed by loop.c's scan of the insn chain matches the info we derive
from the CFG?
2000-08-24 Michael Hayes <mhayes@cygnus.com>
* loop.c (loop_dump_aux, debug_loop): New functions.
(LOOP_BLOCK_NUM_1, LOOP_BLOCK_NUM, LOOP_INSN_UID): New macros.
* flow.c (flow_loops_dump): Add callback parameter.
(flow_loop_dump): Add callback parameter and call it. Move
loop note debugging code to loop_dump_aux.
* basic-block.h (flow_loop_dump): Add callback parameter
(flow_loops_dump): Likewise.
Approved.
jeff