This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Target has no frame pointer: what to set FRAME_POINTER_REGNUM?
- From: Jeff Law <law at redhat dot com>
- To: Maxim Blinov <maxim dot a dot blinov at gmail dot com>, gcc-help at gcc dot gnu dot org
- Date: Fri, 7 Apr 2017 20:48:07 -0600
- Subject: Re: Target has no frame pointer: what to set FRAME_POINTER_REGNUM?
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=law at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 0D2CA3B74F
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 0D2CA3B74F
- References: <CAHXVFW=mKm3W_KJrNG17STPWXHYPUAWQeHe0N9uEjR0kFmw19g@mail.gmail.com>
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