-Og bug?

Ian Lance Taylor iant@google.com
Tue Jan 28 21:24:00 GMT 2014

`On Tue, Jan 28, 2014 at 1:10 PM, Thomas Schwinge
<thomas@codesourcery.com> wrote:
> OK, I agree to all of that, but I'd assume that if the compiler doesn't
> do such value tracking to see whether all cases have been covered, it
> also souldn't emit such possibly unitialized warning, to not cause false
> positive warnings.

The -Wuninitialized warning is full of false positives.

It is the canonical example of why warnings that are driven by
optimizations are difficult for users in practice.


More information about the Gcc-patches mailing list