[RFC][PATCH,reload] PR middle-end/42431, fix latent bug in gen_reload_chain_without_interm_reg_p()
Jeff Law
law@redhat.com
Tue Mar 2 18:57:00 GMT 2010
On 03/02/10 03:23, Jakub Jelinek wrote:
> 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
>
Attached is the final patch (whitespace fixed and memory free'd at the
end of reload) that I checked in this morning.
jeff
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PP
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100302/7ddf6c63/attachment.ksh>
More information about the Gcc-patches
mailing list