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

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andrew Macleod <[email protected]>:

https://gcc.gnu.org/g:f595792a0cffc9db7e5b4ee1ef2ea1fd9f66b652

commit r17-6199-gf595792a0cffc9db7e5b4ee1ef2ea1fd9f66b652
Author: Andrew MacLeod <[email protected]>
Date:   Thu Nov 12 10:02:44 2026 -0500

    Unsigned MINUS_EXPR can utilize relations better

    If there is a relation between op1 and op2, an unsigned minus operation
    can sometimes do better than simply non-zero.

    Assisted-by: Claude Opus 5

            PR tree-optimization/127915
            gcc/
            * range-op.cc (minus_op1_op2_relation_effect): Handle more
            unsigned range calculations using relations.

            gcc/testsuite/
            * gcc.dg/pr127915.c: New.
  • [Bug tree-optimization/127915] ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to