[Bug tree-optimization/122850] [16 regression] ICE when building highway-1.3.0 (error: not allowed type combination in bit_insert_expr) since r16-5561-g283eb27d5f674b

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 27 15:03:00 GMT 2025


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

--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Robin Dapp <rdapp@gcc.gnu.org>:

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

commit r16-5669-gfefc96d7b285fd541696d1a43223612d282bc197
Author: Robin Dapp <rdapp@ventanamicro.com>
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.


More information about the Gcc-bugs mailing list