QUery regarding target macros ELIMINABLE_REGS and CAN_ELIMINATE.
Ian Lance Taylor
Wed Apr 22 13:25:00 GMT 2009
sumanth <email@example.com> writes:
> But, my code generated is not according to CAN_ELIMINATE . It is not
> replacing FRAME_POINTER_REGNUM with HARD_FRAME_POINTER_REGNUM.
Frame pointer elimination is based on FRAME_POINTER_REQUIRED. You need
to set both that and CAN_ELIMINATE to prevent frame pointer elimination.
More information about the Gcc-help