https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96433
Marc Glisse <glisse at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |tree-optimization Last reconfirmed| |2020-08-03 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Version|tree-ssa |11.0 --- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> --- Replacing (A/B)*B with A-A%B makes the transformation a bit simpler (and the signed variants with ceil/floor), but we probably don't want to do that transformation all the time (?). Which leaves the rather specialized (A/B)*B cmp A...