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


Richard Henderson <rth@redhat.com> wrote:

: 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.

Look at that.  Okey.  Is there anyway to tell the compiler that
%ebp is not still alive?

-- 
Johan Rydberg, Free Software Developer, Sweden
http://rtmk.sf.net | http://www.nongnu.org/guss/

Playing Eminem - Don't_Call_Me_Marshall_(Intro)


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