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

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

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

commit r16-5669-gfefc96d7b285fd541696d1a43223612d282bc197
Author: Robin Dapp <[email protected]>
Date:   Wed Nov 26 10:27:24 2025 +0100

    forwprop: Nop-convert operands if necessary [PR122855].

    This fixes up r16-5561-g283eb27d5f674b where I allowed nop conversions
    for the input operands.  There are several paths through the function
    that still require an explicit nop conversion for them.  This patch adds
    them.

            PR tree-optimization/122855
            PR tree-optimization/122850

    gcc/ChangeLog:

            * tree-ssa-forwprop.cc (simplify_vector_constructor): Nop
            convert input if necessary.

    gcc/testsuite/ChangeLog:

            * gcc.dg/vect/pr122850.c: New test.
            * gcc.dg/vect/pr122855.c: New test.

Reply via email to