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

--- Comment #2 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:bfc5dd9360f265f89234d6f5a00ab8ff007ce773

commit r17-6057-gbfc5dd9360f265f89234d6f5a00ab8ff007ce773
Author: Richard Biener <[email protected]>
Date:   Mon Nov 9 12:47:16 2026 +0100

    tree-optimization/128575 - avoid removing volatile store

    When DSE runs into a redundant zero initialization it can end up
    removing a volatile store.  Avoid this.

            PR tree-optimization/128575
            * tree-ssa-dse.cc (dse_optimize_redundant_stores): Do not
            eliminate volatile stores.

            * gcc.dg/tree-ssa/ssa-dse-55.c: New testcase.

Reply via email to