Chris Lattner wrote:- > >I think it's worth noting that we build the SSA form even when we're > >not optimizing. Which in turn with running the maybe-uninitialized > >warning code early would give you the warnings you expect without > >needing to run the optimizers. That's why I don't think we need to push > >these warnings into the front-ends. > > Sure, running it as the first stage of the optimizers has the effect of > making it have the properties I desire, without requiring the front-ends > to duplicate the code. Such a feature would be great to have!
I agree if it's run with -fsyntax-only; IMO this flag should pick up the obvious cases. Neil.