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

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

https://gcc.gnu.org/g:9119b008b4195e06012a485ec01a8bb0e43266be

commit r14-5037-g9119b008b4195e06012a485ec01a8bb0e43266be
Author: Vladimir N. Makarov <vmaka...@redhat.com>
Date:   Tue Oct 31 10:54:43 2023 -0400

    [RA]: Fixing LRA cycling for multi-reg variable containing a fixed reg

    PR111971 test case uses a multi-reg variable containing a fixed reg.  LRA
    rejects such multi-reg because of this when matching the constraint for
    an asm insn.  The rejection results in LRA cycling.  The patch fixes this
issue.

    gcc/ChangeLog:

            PR rtl-optimization/111971
            * lra-constraints.cc: (process_alt_operands): Don't check start
            hard regs for regs originated from register variables.

    gcc/testsuite/ChangeLog:

            PR rtl-optimization/111971
            * gcc.target/powerpc/pr111971.c: New test.
  • [Bug rtl-optimization/111971] [... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to