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

--- Comment #13 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:1d1b64a5bdcf2a9352479fb9f6f399ac2e5b8a98

commit r17-1164-g1d1b64a5bdcf2a9352479fb9f6f399ac2e5b8a98
Author: Richard Biener <[email protected]>
Date:   Wed Apr 29 09:19:43 2026 +0200

    tree-optimization/120702 - avoid folding loads to STRING_CSTs

    The following avoids (large) string duplication which can happen
    when folding aggregate reads to STRING_CSTs.  There's unlikely
    to be followup optimization opportunities.

            PR tree-optimization/120702
            * gimple-fold.cc (maybe_fold_reference): Only fold
            register type reads.

            * gcc.dg/tree-ssa/pr120702.c: New testcase.
  • [Bug tree-optimization/120702] ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to