https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103278
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- So I believe other if-to-switch fails on "weird" targets are caused by the same issue - Jeff, maybe you can peek into the dumps to figure the magic case-values-threshold value to use there? Original reported case fixed.