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
- From: Richard Henderson <rth at redhat dot com>
- To: Johan Rydberg <jrydberg at night dot trouble dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 2 Jul 2003 11:26:30 -0700
- Subject: Re: still using frame pointer when compiling with -fomit-frame-pointer
- References: <20030702182905.5c986fbc.jrydberg@night.trouble.net>
On Wed, Jul 02, 2003 at 06:29:05PM +0200, Johan Rydberg wrote:
> For a little project of mine I use the -fomit-frame-pointer flag
> to GCC, to let it know that it should not use %ebp (since it will
> be clobbed in runtime generated code).
Then you are wrong. If you use -fomit-frame-pointer, the
compiler will *still* expect %ebp to be unchanged after a call.
r~