What happens with gcc -O6 ?

Tim Prince n8tm@aol.com
Wed Jun 29 14:13:00 GMT 2011


On 6/28/2011 2:04 PM, Dr. David Kirkby wrote:
> I've got some code where the author has used the compiler option -O6.
> What happens in a case like this? gcc does not issue any warnings, but
> as far as I'm aware, such a level of optimisation is not supported. So
> what would happen in a case like this? Would there be any optimiation,
> the maximum possible, the default ...?
>
Easily checked (e.g. by comparing output for -S option).  Probably taken 
as -O3.
-- 
Tim Prince



More information about the Gcc-help mailing list