https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113301
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org Status|NEW |ASSIGNED See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=103257 --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I have a patch which disables the "simplification" of "1/x" for signed until late which solves this missed optimization. I will post it once it finishes testing. Note we already delayed the simplification of `bool * d` to `bool?A:0` until late for similar reasons, see PR 103257 on that.