[Bug tree-optimization/122370] [16 regression] ICE when building qtshadertools-6.10.0

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 22 09:11:20 GMT 2025


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

--- Comment #5 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:065b4476c8611549a07cae58786b844ae5763eaf

commit r16-4555-g065b4476c8611549a07cae58786b844ae5763eaf
Author: Richard Biener <rguenther@suse.de>
Date:   Wed Oct 22 10:05:01 2025 +0200

    tree-optimization/122370 - ICE with reduction and masks

    The following fixes bad interaction with mask demotion to data
    and the code dealing with UB on signed reductions by making sure
    to also update compute_vectype when updating vectype.

            PR tree-optimization/122370
            * tree-vect-loop.cc (vect_create_epilog_for_reduction):
            Also update compute_vectype when demoting masks to an
            integer vector.

            * gcc.dg/vect/vect-pr122370.c: New testcase.


More information about the Gcc-bugs mailing list