[Bug tree-optimization/19832] don't remove an if when we know the value is the same as with the if (subtraction)
"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]> Sun, 02 Aug 2026 11:54:46 +0000
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19832 --- Comment #15 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Kael Andrew Franco <[email protected]>: https://gcc.gnu.org/g:529304e456c9be38139325e3c2567f7d2a93e7c8 commit r17-2887-g529304e456c9be38139325e3c2567f7d2a93e7c8 Author: Kael Andrew Alonzo Franco <[email protected]> Date: Sun Aug 2 07:53:46 2026 -0400 match: Combine two patterns into one for. [PR19832] From r14-3606, this reduce genmatch's outputted C++ code. Bootstrapped and tested on x86_64-pc-linux-gnu. PR tree-optimization/19832 gcc/ChangeLog: * match.pd: Combine two patterns into one for.