https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 125708, which changed state.
Bug 125708 Summary: Missed optimization: division by (2 - bool) emits idivl instead of shift/select https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125708 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
