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

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

https://gcc.gnu.org/g:8d32122f1a692e841ee3c2d27f3200a712f9f145

commit r17-3635-g8d32122f1a692e841ee3c2d27f3200a712f9f145
Author: Richard Biener <[email protected]>
Date:   Tue Aug 25 14:32:41 2026 +0200

    tree-optimization/127058 - ICE with partly populated vectors

    When no longer restricting vector types of externs/constants we
    have to make sure to zero-pad elements in vect_create_constant_vectors
    which was missing.  The testcases expands the already known case in
    vectorizable_conversion which was tailored exactly to one input
    and one output vector to the case of three output vectors produced
    from two (or rather one and a half) input vectors.

            PR tree-optimization/127058
            PR tree-optimization/127051
            * tree-vect-slp.cc (vect_create_constant_vectors): Zero-pad
            excess elements.
            * tree-vect-stmts.cc (vect_create_vectorized_demotion_stmts):
            Change 'half' parameter to indicate optional fixed number
            of vectors to produce.
            (vectorizable_conversion): Adjust.

            * gcc.dg/vect/bb-slp-pr127051.c: New testcase.
            * gfortran.dg/vect/pr127058.f90: Likewise.

Reply via email to