[RFC][PATCH,reload] PR middle-end/42431, fix latent bug in gen_reload_chain_without_interm_reg_p()

Jakub Jelinek jakub@redhat.com
Tue Mar 2 10:22:00 GMT 2010


On Tue, Mar 02, 2010 at 11:13:49AM +0100, Richard Guenther wrote:
> > Bootstrapped and regression tested on x86_64-linux-gnu.
> 
> !   VEC_free (rtx_p , heap, substitute_stack);

Extra space after rtx_p.

> !   return result;
> 
> not freeing the stack should speed up further calls for the cost of
> a very small leak.
> 
> Otherwise ok.

I guess it can be freed e.g. at the end of reload1.c (reload).

	Jakub



More information about the Gcc-patches mailing list