https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119471
Andrew Macleod <amacleod at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2025-03-26 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |amacleod at redhat dot com CC| |amacleod at redhat dot com --- Comment #1 from Andrew Macleod <amacleod at redhat dot com> --- Created attachment 60889 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60889&action=edit Patch This is pretty trivial to fix. Range ops just need to have operator_mult::op1_range tweaked to tell it that if the LHS does not contain zero, then the operand is non-zero.