This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: still using frame pointer when compiling with -fomit-frame-pointer
On Wed, Jul 02, 2003 at 08:37:27PM +0200, Johan Rydberg wrote:
> Look at that. Okey. Is there anyway to tell the compiler that
> %ebp is not still alive?
No.
The other thing is that while -fomit-frame-pointer prevents a frame pointer
from being used in all functions, it does not say "never use a frame pointer".
There is no way to say that. There are certain situations where correct code
generation *requires* a frame pointer.
r~