On Tue, Mar 5, 2013 at 3:39 PM, Jeff Law <law@xxxxxxxxxx> wrote: > On 03/05/2013 01:23 PM, Lars Gullik Bjønnes wrote: > >... > -Og means optimize, but only where doing so will not affect the quality of > debug information. So only a minimal set of optimizations are performed and > you get the warning. For completeness and benefit to others, you still need to specify a debugging information level (or take the default). See http://gcc.gnu.org/ml/gcc/2013-02/msg00274.html for some details OT: GCC 4.8 has some nice new features. -fsanitize=memory and -fsanitize=threads look very interesting. Awesome work by the developers. Jeff