[Bug tree-optimization/96674] Failure to optimize combination of comparisons to dec+compare

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 14 21:30:54 GMT 2021


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

--- Comment #8 from Uroš Bizjak <ubizjak at gmail dot com> ---
Comment on attachment 49969
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49969
Optimize combination of comparisons to dec+compare

>+/* y == XXX_MIN || x < y --> x <= y - 1 */

Can we use TYPE_MIN instead of XXX_MIN?


More information about the Gcc-bugs mailing list