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

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

https://gcc.gnu.org/g:37980a5a781bf7a8831b6f106ef61f11a52579d0

commit r16-7888-g37980a5a781bf7a8831b6f106ef61f11a52579d0
Author: Philipp Tomsich <[email protected]>
Date:   Wed Mar 4 09:49:09 2026 +0100

    avoid-store-forwarding: Clear sbitmap before use [PR124351]

    The forwarded_bytes sbitmap needs to be zeroed after allocation,
    as sbitmaps are not implicitly initialized.  This caused valgrind
    warnings about conditional jumps depending on uninitialised values.

    gcc/ChangeLog:

            PR rtl-optimization/124351
            * avoid-store-forwarding.cc (process_store_forwarding): Add
            bitmap_clear after allocating forwarded_bytes.

Reply via email to