[PATCH] SPARC psABI fix, callee returns struct checking.

Mark Mitchell mark@codesourcery.com
Thu Mar 9 00:28:00 GMT 2006


Carlos O'Donell wrote:

> Accept the patch and I'll subsequently add a flag to turn it all off if
> you want really fast performance (e.g. remove caller and callee side
> fiddling and just assume the pointer to the save area is always there
> and the correct size). Please start thinking of a flag name.

I think it's reasonable for David to require the flag as part of the
initial check-in, so as not to degrade performance on GCC-only systems.
 (David, the issue is not just academic; Sun's compiler omits the return
address when the value is cast to avoid, as in Carlos' example.)  But,
it would also help if Carlos could get some feedback on the meat of the
patch, while we settle on an appropriate flag name.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list