This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, ARM] Fix PR42017, LR not used in leaf functions


> > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]