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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Richard Biener
<[email protected]>:

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

commit r15-10727-geaf6cfabe542e8bd919495fb784e04d455fdd4c3
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.

    (cherry picked from commit c7c5112fa19eeb01656e000c2b7732e86be8782e)

Reply via email to