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

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

https://gcc.gnu.org/g:9b840b6380426a8e760076f6541c6aa74c7a6e5c

commit r16-9908-g9b840b6380426a8e760076f6541c6aa74c7a6e5c
Author: Richard Biener <[email protected]>
Date:   Tue Oct 20 14:17:01 2026 +0200

    tree-optimization/127975 - mixed AVX512 / AVX2 style masks with loop
masking

    loop masking with AVX512 assumes integer type masks throughout, but when
    only a limited subset of AVX512 is enabled we can end up with mixed
    style masks which we do not support.  Verify this doesn't happen
    and disable loop masking in that case instead of ICEing at transform
    time.

            PR tree-optimization/127975
            * tree-vect-loop.cc (vect_verify_full_masking_avx512):
            Require all loop masks to be integer mode masks.

            * gcc.dg/vect/vect-simd-22.c: New testcase.

    (cherry picked from commit f4b64250a70482fbb51d6bb97fae481f90aa9649)

Reply via email to