https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119196
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Victor Do Nascimento <victor...@gcc.gnu.org>: https://gcc.gnu.org/g:f6eb8291e1c538f946efcb79b1f597c251be63c4 commit r16-2133-gf6eb8291e1c538f946efcb79b1f597c251be63c4 Author: Icen Zeyada <icen.zeya...@arm.com> Date: Wed Jul 9 12:57:11 2025 +0100 tree-simplify: unify simple_comparison ops in vec_cond for bit and/or/xor [PR119196] Merge simple_comparison patterns under a single vec_cond_expr for bit_and, bit_ior, and bit_xor in the simplify pass. Ensure that when both operands of a bit_and, bit_or, or bit_xor are simple_comparison results, they reside within the same vec_cond_expr rather than separate ones. This prepares the AST so that subsequent transformations (e.g., folding the comparisons if possible) can take effect. gcc/ChangeLog: PR tree-optimization/119196 * match.pd: Merge multiple vec_cond_expr in a single one for bit_and, bit_ior and bit_xor. Signed-off-by: Icen Zeyada <icen.zeya...@arm.com>