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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>:

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

commit r16-3419-ga78f34b6d21da299429f2432b309781ad717c596
Author: Andrew Pinski <andrew.pin...@oss.qualcomm.com>
Date:   Wed Aug 27 11:59:08 2025 -0700

    ifcvt: fix factor_out_operators (again) [PR121695]

    r16-2648-gaebbc90d8c7c70 had a copy and pasto where
    the second statement was supposed to be setting
    the operand 1 of the phi but it was setting operand 0 instead.
    This fixes typo.

    Push as obvious after a quick build test for x86_64-linux-gnu.

            PR tree-optimization/121695

    gcc/ChangeLog:

            * tree-if-conv.cc (factor_out_operators): Fix typo
            in assignment of the phi.

    gcc/testsuite/ChangeLog:

            * gcc.dg/torture/pr121695-1.c: New test.

    Signed-off-by: Andrew Pinski <andrew.pin...@oss.qualcomm.com>

Reply via email to