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: More useful .greg dumps


  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


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