aboutsummaryrefslogtreecommitdiff
path: root/libcpp/line-map.cc
diff options
context:
space:
mode:
authorPatrick O'Neill <patrick@rivosinc.com>2023-10-30 09:30:01 -0700
committerPatrick O'Neill <patrick@rivosinc.com>2023-10-30 09:58:54 -0700
commit68880e40533c41c89eb72247c3080703ad09270c (patch)
treea7ff9e21fe7033c2a456a96d1681d38ca67fb8c2 /libcpp/line-map.cc
parenta3da9adeb457d4f01c4e695a9621f90c2e2a5e68 (diff)
downloadgcc-68880e40533c41c89eb72247c3080703ad09270c.zip
gcc-68880e40533c41c89eb72247c3080703ad09270c.tar.gz
gcc-68880e40533c41c89eb72247c3080703ad09270c.tar.bz2
RISC-V: Make rv32i_zcmp testcase more robust
GCC recently changed its register allocator which causes this testcase to fail. This patch updates the regex to be more robust to change by accepting any s register in the range of 1-9 for cm.push and cm.popret insns. gcc/testsuite/ChangeLog: * gcc.target/riscv/rv32i_zcmp.c: Accept any register in the range of 1-9 for cm.push and cm.popret insns. Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
Diffstat (limited to 'libcpp/line-map.cc')
0 files changed, 0 insertions, 0 deletions