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

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

https://gcc.gnu.org/g:8661ecc796c896c19c69f41a8a3658fdc9161832

commit r13-10148-g8661ecc796c896c19c69f41a8a3658fdc9161832
Author: Richard Biener <[email protected]>
Date:   Fri May 30 13:47:55 2025 +0200

    tree-optimization/120341 - stores into STRING_CSTs can trap

    The following fixes conditional store elimination and store motion
    so they consider stores to STRING_CSTs as trapping.

            PR tree-optimization/120341
            * tree-ssa-loop-im.cc (can_sm_ref_p): STRING_CSTs are readonly.

            * gcc.dg/torture/pr120341-1.c: New testcase.
            * gcc.dg/torture/pr120341-2.c: Likewise.

    (cherry picked from commit d16cbe084c90a151a2fc326daeb7287485cb31d0)

Reply via email to