This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: still using frame pointer when compiling with -fomit-frame-pointer


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]