Bug in simplify_subreg?
Lars Brinkhoff
lars.spam@nocrew.org
Mon Aug 5 05:43:00 GMT 2002
Richard Earnshaw <rearnsha@arm.com> writes:
> > Since outermode==SImode==Pmode and reload_in_progress==0,
> > gen_reg_RTX returns frame_pointer_rtx to simplify_subreg. And so
> > ORIGINAL_REGNO of frame_pointer_rtx is clobbered.
> It's probable that on many machines we can accurately guess whether a
> frame pointer is needed or not before reload starts to run, but there's no
> way to be sure.
Ok, then how about doing
ORIGINAL_REGNO (frame_pointer_rtx) = FRAME_POINTER_REGNUM;
after compilation of every function?
Any other suggestions?
--
Lars Brinkhoff http://lars.nocrew.org/ Linux, GCC, PDP-10,
Brinkhoff Consulting http://www.brinkhoff.se/ HTTP programming
More information about the Gcc
mailing list