https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65922
Peter Bergner <bergner at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Peter Bergner <bergner at gcc dot gnu.org> --- Closing as a DUP. I forgot to include the test case, so for posterity, here is the test case reduced from PHP. void foo (unsigned char *ptr, unsigned int cond) { switch (cond) { case 0: return; case 1: case 2: case 3: case 4: case 6: *ptr += 1; return; case 5: *ptr += 2; return; default: __builtin_unreachable (); break; } }