[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2026, 2k17, 2k and 2k6 and 95)

"liuhongt at gcc dot gnu.org via Gcc-bugs" <[email protected]> Wed, 05 Aug 2026 02:46:59 +0000
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
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