https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107342
Aldy Hernandez <aldyh at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Last reconfirmed| |2022-10-21 --- Comment #1 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- Confirmed. As mentioned on gcc-patches, if we track nonzero bits through the division, we should be able to thread from the r *= 8U to the return. This should allow some other pass to remove the second call to foo4b.