[Main]
Title=Why do you use -O2/-Os when -O3 performs better optimization?

[Top]
<TABLE CELLPADDING="4"><TR><TD VALIGN="TOP"><B>Q:</B></TD><TD>
I wonder why you put <B>'-Os'</B> as a default optimization option in the
compiler. <B>'-O3'</B> will perform better optimization...
</TD></TR><TR><TD VALIGN="TOP"><B>A:</B></TD><TD>
Yes, but <B>'-O3'</B> produces bigger output than <B>'-Os'</B>, because it
performs loop unrolling and inlining of "short-enough" functions...
</TD></TR></TABLE>
