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

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

https://gcc.gnu.org/g:821f1570c58224d056f93af5851ff7979e3065d1

commit r14-12446-g821f1570c58224d056f93af5851ff7979e3065d1
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)
  • [Bug middle-end/123741] [14 reg... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to