`On Tue, Jan 28, 2014 at 1:10 PM, Thomas Schwinge <tho...@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. Ian