https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91195
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think the switch statement could be optimized better. There is a loop pass which already handles if statements for the splitting one loop into two. Maybe it could do the same for switch statements. Or the other thing that could be done here is change the switch statement into an if statement because there is only one case and the default case.