https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499 Bug 100499 depends on bug 104519, which changed state.
Bug 104519 Summary: [12 Regression] wrong code at -Os on x86_64-linux-gnu and char as induction variable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104519 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED