optimization documentation

Van Eps, Nathan D. (James Tower) NDVanEps@jamestower.com
Wed Oct 29 17:50:00 GMT 2003


Hello,

On the following documentation page, it says "-O also turns on
-fomit-frame-pointer on machines where doing so does not interfere with
debugging.". It also says "-O2 turns on all optimization flags specified by
-O.". Is "-fomit-frame-pointer" always turned on when you use "-O2", or does
the same condition of "-O" apply when you use "-O2"?

http://gcc.gnu.org/onlinedocs/gcc-3.3.2/gcc/Optimize-Options.html#Optimize%2
0Options

Thanks,
==============================
Nathan Van Eps



More information about the Gcc-help mailing list