https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85316 Bug 85316 depends on bug 101186, which changed state.
Bug 101186 Summary: predictable comparison of integer variables not folded https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101186 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED