https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113434
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Target Milestone|--- |13.3 Last reconfirmed| |2024-01-17 Ever confirmed|0 |1 Summary|[13/14 Regression] Missed |[13/14 Regression] VRP |optimization for Loop |misses conditional in loop |Unswitch |is always false sometimes --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. Note it is not loop switching but rather VRP which should have figured out a bounds are [2,202] inside the loop but for some reason it is not able to.