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

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

https://gcc.gnu.org/g:6bfe24239a2c98ecacfbda6358a46c41e40c18ac

commit r16-8085-g6bfe24239a2c98ecacfbda6358a46c41e40c18ac
Author: Vladimir N. Makarov <[email protected]>
Date:   Fri Mar 13 16:19:33 2026 -0400

    [PR117182, LRA]: Move point of skipping postponed insn

    Working on PR117182 I found that a pseudo generated for save/restore
    value around call is changed by equivalence which is constant as we
    propagate equivalence for such pseudos to generate a better code.  The
    constant substitutes output of the save insn which can be changed to
    memory containing constant by reload insn.  We don't want this.  The
    patch fixes this.

    gcc/ChangeLog:

            PR target/117182
            * lra-constraints.cc (curr_insn_transform): Don't change an output
            operand by constant or invariant equivalence.

Reply via email to