https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96245
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at gcc dot gnu.org --- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Effectively it would be the inverse of jump threading optimization, though I think we don't do it for switches, turning say: void foo (int *p, int x) { switch (x) { case 7: case 8: case 9: case 10: case 11: case 12: *p = 12 + x; break; default: return; } } into the above foo.