[Bug tree-optimization/125737] `a%b < b` should be true if a and b are non-negative

kaelfandrew at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jun 12 13:00:20 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125737

--- Comment #1 from Kael Franco <kaelfandrew at gmail dot com> ---
Created attachment 64723
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64723&action=edit
Untested patch

Similar bugs could be patch using tree_expr_nonnegative_p


More information about the Gcc-bugs mailing list