https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64249
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-12-10 CC| |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Perhaps we shouldn't warn if conditionX is diagnosed for other reasons (always true or always false). And, if (conditionZ) { ... } else if (conditionX) { ... } else if (conditionX) { ... } else { ... } should be of course diagnosed too.