[Bug tree-optimization/126646] Umin(a,1) | umin(b,1) ->umin(a|b, 1)

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126646

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

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

commit r17-3283-gb190388bad47b1d3507abd52dc2a07f39a899984
Author: Reshma Roy <[email protected]>
Date:   Tue Aug 11 11:48:05 2026 +0530

    match.pd: Fold umin(a, 1) | umin(b, 1) into umin(a | b, 1) [PR126646]

    gcc/ChangeLog:

            PR tree-optimization/126646
            * match.pd: Fold umin(a, 1) | umin(b, 1) into umin(a | b, 1).

    gcc/testsuite/ChangeLog:

            * gcc.dg/tree-ssa/pr126646-1.c: New test.
            * gcc.dg/tree-ssa/pr126646-2.c: New test.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.