Gcc optimization flags

Scott Robert Ladd coyote@coyotegulch.com
Wed Aug 6 04:37:00 GMT 2003


Long Fei wrote:
> It seems that without turning on the -O flag, other optimization flags
> won't have any effect ?
> Did anybody have any experience in using the flags separately rather
> than -Ox ?

The compiler performs several very basic optimizations when -O is in 
effect. Essentially, -O turns the optimizer on; the additional options 
then refine the optimization process.

-- 
Scott Robert Ladd
Coyote Gulch Productions (http://www.coyotegulch.com)
Software Invention for High-Performance Computing



More information about the Gcc mailing list