still using frame pointer when compiling with -fomit-frame-pointer
Richard Henderson
rth@redhat.com
Wed Jul 2 21:37:00 GMT 2003
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~
More information about the Gcc
mailing list