https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87038

--- Comment #24 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Harald van Dijk from comment #23)
> (In reply to Eric Gallager from comment #22)
> > (In reply to Harald van Dijk from comment #21)
> > > Since -Wjump-misses-init triggers too often for commonly used C patterns,
> > > I do not think it is appropriate to include it in -Wall. 
> > 
> > OK, so what about -Wextra then?
> 
> My personal feeling as a user is that clang's warning is useful enough that
> if GCC were to implement that, that one could be included in -Wall. It
> avoids warning for the common cases where code works as intended, and still
> manages to warn for the OP's code. I do not know how much work it would be
> to implement that; if it would be too much work, then including
> -Wjump-misses-init in -Wextra makes sense to me.

Well, since no one's done it yet, I'm guessing it's probably too much work,
so... can we just go with the latter?

Reply via email to