This is the mail archive of the gcc@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: Pseudo frame pointer register in assembly code


>> you can define a hard register HARD_FRAME_POINTER_REGNUM.  Either 
>> way, it should not be a fixed register.  In the latter case, have 
>> an elimination from FRAME_POINTER_REGNUM to HARD_FRAME_POINTER_REGNUM. 

Hi Ian,

Thanks a lot for the useful suggestion. 

The "HARD_FRAME_POINTER_REGNUM" which was not a FIXED_REG was defined. 
The FRAME_POINTER_REGNUM was eliminated to HARD_FRAME_POINTER_REGNUM
in the ELIMINABLE_REGS. As the frame pointer was eliminated by a hard
register, undefined reference to pseudo frame pointer was solved.

Thanks & Regards,
Naveen


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