https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66322
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Well, using switch on bool is always weird, one really should use if for that. If you want fallthrough, then just use if (cond) { first } second, if without fallthrough, then if (cond) { first } else { second }.