------- Comment #8 from paolo dot carlini at oracle dot com 2010-02-28 00:05 ------- The default is of course "-O2 -g", and I can tell you for sure that we (the maintainers) always use it (when we are not debugging) and the same is true for all the most important Linux distros. By the way, no warnings *at all* are emitted during the build, again, for sure on the major Linux distros. If you are referring to your own code, this is off-topic here, but normally a *release* build uses at least -O2, otherwise, performance are just *horrible*.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43203