-O1 single optimization parameter

Brian Dessent brian@dessent.net
Thu Oct 9 11:08:00 GMT 2008


massimiliano cialdi wrote:

> I think that -O1 is an alias for a list of optimization parametr as
> reported in gcc manual, so if I want to anable only one parameter at

Your interpretation of the manual is incorrect.  Note in particular the
passage that says "Not all optimizations are controlled directly by a
flag. Only optimizations that have a flag are listed."  This is telling
you that -O is not equivalent to a set of -f options.

Brian



More information about the Gcc-help mailing list