More useful .greg dumps

Jeffrey A Law law@cygnus.com
Tue Oct 31 15:44:00 GMT 2000


  In message < Pine.LNX.4.21.0010301504040.2467-100000@host117.cygnus >you write:
  > When debugging reload, it would be nice to get a dump of the insns left aft
  > er
  > it completes.  However, the .greg dump is done after a few other optimizati
  > on
  > passes have been run, e.g. reload_cse_regs and most importantly
  > split_all_insns, making the dump less useful than it could be.
  > 
  > This patch splits up .19.greg into .19.greg (done after reload) and
  > .20.postreload (done immediately before flow2).
  > 
  > 
  > Bernd
  > 
  > 	* invoke.texi (Debugging Options): Describe -do.
  > 	* toplev.c (enum_dump_file_index): New entry DFI_postreload.
  > 	(dump_file): Likewise.
  > 	(rest_of_compilation): Split .greg dump into .greg and .postreload.
Thank you!  No more calling print_rtl from within reload_cse_regs by hand to
accomplish this :-)

jeff



More information about the Gcc-patches mailing list