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

--- Comment #12 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:6d842965024cad9f6d3588d300c11c2c2e4a2dba

commit r17-1765-g6d842965024cad9f6d3588d300c11c2c2e4a2dba
Author: Richard Biener <[email protected]>
Date:   Fri Jun 19 11:45:46 2026 +0200

    tree-optimization/110743 - do not warn for bit sets/clears to uninit memory

    The following avoids diagnosing bit sets/clears that involve RMW
    cycles to uninitialized memory.  This is for example exposed by
    __builtin_clear_padding lowering which suppresses diagnostics but
    those can re-surface with vectorization.

            PR tree-optimization/110743
            * tree-ssa-uninit.cc (maybe_warn_operand): Suppress diagnostics
            on RMW cycles setting/clearing bits.

            * gcc.dg/uninit-pr110743.c: New testcase.

Reply via email to