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]
Other format: [Raw text]

Re: [PATCH] Clean up df in case of reload failure (PR middle-end/32370)


On Sat, Aug 25, 2007 at 07:34:57AM +0200, Paolo Bonzini wrote:
> 
> >df-core.c requires its passes (rest_of_handle_df_initialize
> >and rest_of_handle_df_finish) to be executed in pairs, if
> >it is initialized, it must be cleaned up and it can't be cleaned up
> >if not initialized.  But they are invoked in different passes.c
> >pass lists.
> 
> I assume you tested moving pass_df_finish out of pass_postreload.  If 
> so, this patch is ok.

That worked too, at least on x86_64-linux.  But is that the right thing to
do?  There is some cost associated with keeping df up to date through the
remaining passes, and if nothing needs the df info in those passes...

	Jakub


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