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

--- Comment #20 from Segher Boessenkool <segher at gcc dot gnu.org> ---
That is still not what I said, so don't pretend I did please.

Those are also not false positives: in all these cases, the program does
in fact skip some initialisation.

But, it seems -Wjump-misses-init is not what you want; you do not want a
warning for jumping over initialisers, it warns for a lot of harmless code.
What you want is a warning that only warns if the var is (potentially) used
without initialisation?

Reply via email to