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

--- Comment #3 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:aadc94947665a4b9d9cd35a55b1d60f5d0482415

commit r16-4550-gaadc94947665a4b9d9cd35a55b1d60f5d0482415
Author: Richard Biener <[email protected]>
Date:   Tue Oct 21 15:40:41 2025 +0200

    tree-optimization/122365 - deal with bool SLP reductions

    I hadn't thought of these but at least added an assert which now
    tripped.  Fixed thus.  There's also a latent issue with AVX512
    mask types.  The by-pieces reduction code used the wrong element
    sizes.

            PR tree-optimization/122365
            * tree-vect-loop.cc (vect_create_epilog_for_reduction):
            Convert all inputs.  Use the proper vector element sizes
            for the elementwise reduction.

            * gcc.dg/vect/vect-reduc-bool-9.c: New testcase.

Reply via email to