[patch, ARM] Fix PR42017, LR not used in leaf functions
Eric Botcazou
ebotcazou@adacore.com
Thu May 19 14:26:00 GMT 2011
> > It seems a lot of other ports suffer from the same problem though.
> > I wonder which targets really do want to make a register live throughout
> > the function? If none do, perhaps we should say that this macro is
> > only meaningful once the epilogue has been generated.
>
> To answer my own question, I suppose VRSAVE is one. So I was wrong
> about the target-independent "fix".
We have %i7 on the SPARC (register where the return address register is saved).
--
Eric Botcazou
More information about the Gcc-patches
mailing list