https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84759
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |11.0 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=97459 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- In GCC 11+, we expand the divide and mod by a constant. Which was implemented by r11-5533. I think we can close this as fixed for GCC 11+ with the expansion happening inline.