[Bug tree-optimization/127101] a+b when b is non-zero and it is known there is no overflow (due to a check) implies a+b is non-zero

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 1 03:41:58 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127101
Bug 127101 depends on bug 127102, which changed state.

Bug 127102 Summary: UMIN<a, b> != 0 should reduce to b != 0 when a is known not to be zero
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127102

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED


More information about the Gcc-bugs mailing list