This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Optimization: Conclusions from Evolutionary Analysis
On Tue, Nov 18, 2003 at 12:31:12PM -0500, Scott Robert Ladd wrote:
> Dan Nicolaescu wrote:
> >You state on your web page that -O1 implies -fomit-frame-pointer.
> >The default GCC configuration on a P4 does not do that!
> >Did you change this when compiling GCC?
>
> Hmmm... now, is this something P4 specific? In other words, does -O1
> imply -fomit-frame-pointer on any platform?
If you check the documentation for -O it says (among other things):
-O also turns on -fomit-frame-pointer on machines where doing
so does not interfere with debugging.
So it seems that -O1 does imply -fomit-frame-pointer on some platforms,
but not on all platforms.
--
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se