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

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

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

commit r16-7107-gaa8811570ccb4fde743f56d9fee57dc74972f09a
Author: Andre Vieira <[email protected]>
Date:   Wed Jan 28 11:11:14 2026 +0000

    vect: reconstruct vectype for non scalar masks

    This reconstructs the masks vectype based on the the type set by the
backend
    for any non scalar masks, which resolves the ICE caused by the sve type
    attribute in SVE types used for simdclones.

    gcc/ChangeLog:

            PR target/123016
            * tree-vect-stmts.cc (vectorizable_simd_clone_call): use
            'build_truth_vector_type_for_mode' to reconstruct mask's vectype
for
            non-scalar masks.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/vect/pr123016.f90: New test.

Reply via email to