This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Loop debugging patch


  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]