This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Why doesn't -fomit-frame-pointer work(very well)?
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Peter Barada <pbarada at mail dot wm dot sps dot mot dot com>
- Cc: rth at redhat dot com, Peter dot Barada at motorola dot com, gcc at gcc dot gnu dot org, Richard dot Earnshaw at arm dot com
- Date: Thu, 04 Apr 2002 17:32:28 +0100
- Subject: Re: Why doesn't -fomit-frame-pointer work(very well)?
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
pbarada@mail.wm.sps.mot.com said:
> Is there anything else that I'm missing?
You should mark the register as a FIXED, so that the compiler won't ever
try to use it for anything else.
The ARM target also has FRAME_POINTER_REGNO in the GENERAL_REGS and
ALL_REGS classes.
R.