https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Martin, I think switchconv pass should use get_range_info and completely ignore labels with values outside of the range of the switch SSA_NAME range (including the default label if all values in the SSA_NAME range have explicit case labels). That wouldn't change everything in this report, e.g. the #c0 one I think doesn't even make switchconv as it is lowered earlier.