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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Vladimir Makarov <vmaka...@gcc.gnu.org>:

https://gcc.gnu.org/g:70596a0fb2a2ec072e1e97e37616e05041dfa4e5

commit r13-4466-g70596a0fb2a2ec072e1e97e37616e05041dfa4e5
Author: Vladimir N. Makarov <vmaka...@redhat.com>
Date:   Fri Dec 2 08:18:04 2022 -0500

    LRA: Check hard reg availability of pseudo and its subreg for pseudo reload

    Do not reload subreg pseudo if there are hard regs for subreg mode
    but there are no hard regs for pseudo mode.

            PR target/106462

    gcc/ChangeLog:

            * lra-constraints.cc (curr_insn_transform): Check available hard
            regs for pseudo and its subreg to decide what to reload.

    gcc/testsuite/ChangeLog:

            * gcc.target/mips/pr106462.c: New test.

Reply via email to