[RFC] EPILOGUE_USES on PPC
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Sun Jan 7 16:21:00 GMT 2001
On Monday 08 January 2001 00:31, Richard Henderson wrote:
> > backtrace.c:7: Can't find a register in class `LINK_REGS' while reloading
> > `asm'.
>
> Reload knows that lr is in use.
>
> > +#define EPILOGUE_USES(REGNO) ((REGNO) == LINK_REGISTER_REGNUM)
>
> Add `reload_completed &&'
Ah yes, this fixes the glibc testcase. This should make the regression tester
a bit happier, it leaves g++.other/eh3.C as a regression and this one was
caused by Richard Kenner's patch on Dec30.
OK to commit if it passes bootstrap? I don't expect problems though, cause
without the reload_completed it passed even a RTL checking bootstrap.
Franz.
* config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register after
reload.
More information about the Gcc
mailing list