https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109287
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2023-05-20 Component|middle-end |tree-optimization Severity|normal |enhancement --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced down to: unsigned f(unsigned t, unsigned b, unsigned *tt) { t *= 16; t+= b; unsigned ttt = t/16; *tt = t%16; return ttt; } Confirmed.