[Bug tree-optimization/122365] [16 regression] ice in vect_create_epilog_for_reduction, at tree-vect-loop.cc:5610

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 22 06:55:13 GMT 2025


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 <rguenth@gcc.gnu.org>:

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

commit r16-4550-gaadc94947665a4b9d9cd35a55b1d60f5d0482415
Author: Richard Biener <rguenther@suse.de>
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.


More information about the Gcc-bugs mailing list