aboutsummaryrefslogtreecommitdiff
path: root/libcpp/line-map.cc
diff options
context:
space:
mode:
authorVladimir N. Makarov <vmakarov@redhat.com>2023-10-31 10:54:43 -0400
committerVladimir N. Makarov <vmakarov@redhat.com>2023-10-31 11:45:40 -0400
commit9119b008b4195e06012a485ec01a8bb0e43266be (patch)
treed3747dd736261c38d07c8ed39aee66db4af62c6e /libcpp/line-map.cc
parent3e888f94624294d2b9b34ebfee0916768e5d9c3f (diff)
downloadgcc-9119b008b4195e06012a485ec01a8bb0e43266be.zip
gcc-9119b008b4195e06012a485ec01a8bb0e43266be.tar.gz
gcc-9119b008b4195e06012a485ec01a8bb0e43266be.tar.bz2
[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.
Diffstat (limited to 'libcpp/line-map.cc')
0 files changed, 0 insertions, 0 deletions