https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97738
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2021-09-26 Severity|normal |enhancement Status|UNCONFIRMED |NEW --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. I think x/(y&-y) should be expanded as x >> ctz (y&-y) + 1 (if ctz is an opcode) but this should be done only at expand time (unless we get a "lower" gimple phase).