This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: More useful .greg dumps
- To: Bernd Schmidt <bernds at redhat dot co dot uk>
- Subject: Re: More useful .greg dumps
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 31 Oct 2000 16:46:13 -0700
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at redhat dot com
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