This is the mail archive of the gcc-help@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: Target has no frame pointer: what to set FRAME_POINTER_REGNUM?


On 04/07/2017 08:46 PM, Maxim Blinov wrote:
My architecture has only a stack pointer, however gcc seems to mandate
that a frame pointer be defined - not defining it results in
compilation failure.

Should I simply assign a register that behaves most like a frame
pointer to this macro?
Assign a register that can be used as an address in a memory reference.

jeff


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