https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #9) > 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. Good point, I'll work on that!