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

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

commit r16-7573-ga169450924cea718f7bb847f2cac70c2d781440d
Author: Vladimir N. Makarov <[email protected]>
Date:   Wed Feb 18 13:00:58 2026 -0500

    [PR120169, LRA]: Fix up REG_ARGS_SIZE note for output reloads

    In this test case, LRA reloads arg push insn but does not move original
    REG_ARGS_SIZE note to the reload insn which becomes a new arg push.  The
    patch fixes it.

    gcc/ChangeLog:

            PR rtl-optimization/120169
            * lra-int.h (lra_process_new_insns): Modify the prototype.
            * lra.cc (lra_process_new_insns): Add arg fixup_reg_args_size with
            implicit value.  Move REG_ARGS_SIZE note if necessary.
            * lra-constraints.cc (curr_insn_transform): Pass the new arg value.

    gcc/testsuite/ChangeLog:

            PR rtl-optimization/120169
            * gcc.target/m68k/pr120169.c: New.

Reply via email to