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 <[email protected]>:

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

commit r16-6980-gc7c5112fa19eeb01656e000c2b7732e86be8782e
Author: Richard Biener <[email protected]>
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.

Reply via email to