[Patch] MIPS: Supply correct call clobbered information for global pointer.

David Daney ddaney@avtrex.com
Sun Jun 1 16:42:00 GMT 2008


Richard Sandiford wrote:
> David Daney <ddaney@avtrex.com> writes:
>   
>> [...] To me, the other solutions feel like they 
>> are papering over mis-information we are emitting.
>>     
>
> OK.  I think we'll have to agree to disagree on that.  I still think
> the clobber patch is using established interfaces to provide accurate
> info.  The question IMO is whether a new interface would be better.
>   
Disagree is perhaps too strong of a word, I was merely wondering  about 
the alternatives here.

> I left things for a while in the hope that someone with authority
> to approve one of the other two approaches would have spoken up.
> No-one did, so I went ahead and applied the patch, but taking
> advantage of the new emit_clobber function.  It'd be easy to
> back out if we do decide to go for one of the other approaches
> later.
>   
Thanks, these dead restores of $gp have been bothering me for a while now.

David Daney



More information about the Gcc-patches mailing list