[Bug middle-end/123741] [14/15/16 regression] ice during GIMPLE pass: slp with -Ofast and -march=znver3 since r14-3441-ga1558e9ad85693

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 22 13:13:02 GMT 2026


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

--- 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:c7c5112fa19eeb01656e000c2b7732e86be8782e

commit r16-6980-gc7c5112fa19eeb01656e000c2b7732e86be8782e
Author: Richard Biener <rguenther@suse.de>
Date:   Thu Jan 22 13:12:43 2026 +0100

    tree-optimization/123741 - fix segfault with BB vect and masked stores

    When vectorizing the body of an if-converted loop with BB vectorization
    we can end up vectorizing masked stores.  But the code tracking whether
    a loop used masked stores failed to check we're doing loop
    vectorization.

            PR tree-optimization/123741
            * tree-vect-stmts.cc (vectorizable_store): Add missing check
            on loop vectorization.

            * gfortran.dg/vect/vect-pr123741.f90: New testcase.


More information about the Gcc-bugs mailing list