Optimization: Conclusions from Evolutionary Analysis

Scott Robert Ladd coyote@coyotegulch.com
Tue Nov 18 18:57:00 GMT 2003


Erik Trulsson wrote:
> 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.

Okay, I missed this; it likely had no effect on my results, given that I 
use -O1 as a base. This the compiler should handle this correctly (not 
enabling -fomit-frame-pointer on the P4). I don't explicitly enable any 
options implied in -O1.

For the next iteration of acovea, I'll clarify how this is handled.

-- 
Scott Robert Ladd
Coyote Gulch Productions (http://www.coyotegulch.com)
Software Invention for High-Performance Computing
In development: Alex, a database for common folk



More information about the Gcc mailing list