QUery regarding target macros ELIMINABLE_REGS and CAN_ELIMINATE.

Ian Lance Taylor iant@google.com
Wed Apr 22 13:25:00 GMT 2009


sumanth <sumanth.gundapneni@redpinesignals.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.

Ian



More information about the Gcc-help mailing list