More useful .greg dumps
Jeffrey A Law
Tue Oct 31 15:44:00 GMT 2000
In message < Pine.LNX.firstname.lastname@example.org >you write:
> When debugging reload, it would be nice to get a dump of the insns left aft
> it completes. However, the .greg dump is done after a few other optimizati
> 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).
> * 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 :-)
More information about the Gcc-patches