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

--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Sergei Trofimovich <[email protected]>:

https://gcc.gnu.org/g:93013672e863b3e0fb99b8adafd84c6850797100

commit r17-818-g93013672e863b3e0fb99b8adafd84c6850797100
Author: Sergei Trofimovich <[email protected]>
Date:   Tue May 26 20:53:17 2026 +0100

    bootstrap/125318 - fix gcc/tree-vect-stmts.cc uninit error

    Without the change gcc fails to build on master in
    --enable-checking=release mode as:

        gcc/tree-vect-stmts.cc:10408:47: error: âstride_stepâ
          may be used uninitialized [-Werror=maybe-uninitialized]

    This happens due to a limit hit in uninit anaysis. To avoid intermittent
    build failures dependent on code size let's unconditionally initialize
    the stride_step.

            PR bootstrap/125318
            * tree-vect-stmts.cc (vectorizable_load): Explicitly
            initialize stride_step to work around
            -Werror=maybe-uninitialized build failure.

Reply via email to