https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49028
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |enhancement Component|rtl-optimization |tree-optimization Last reconfirmed|2011-05-18 09:40:28 |2021-8-14 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- _3 = _2 + 8; _4 = _3 - _1; _5 = _4 /[ex] 8; _6 = _5 % 16; _7 = (long unsigned int) _6; _8 = _7 * 8; _9 = _1 + _8; I Noticed only MSVC actually does this optimization.