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

--- Comment #5 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:cf6605e1e4a1ab76a09f96635b919e53aaf48af1

commit r17-4179-gcf6605e1e4a1ab76a09f96635b919e53aaf48af1
Author: Vladimir N. Makarov <[email protected]>
Date:   Fri Sep 11 09:44:22 2026 -0400

    [PR 127244][LRA]: Inherit optional reload for output operands

    The PR reveals that optional reload for output operands is not
    inherited and this results in bad code generation. The patch fixes
    this.

    gcc/ChangeLog:

            PR rtl-optimization/127244
            * lra-constraints.cc (inheritance_pseudo_p): New function.
            (undo_optional_reloads): Keep optional reload for output
            operand if it is inherited.

    gcc/testsuite/ChangeLog:

            PR rtl-optimization/127244
            * gcc.target/i386/pr127244.c: New

Reply via email to