diff options
author | Patrick O'Neill <patrick@rivosinc.com> | 2023-10-27 10:50:28 -0700 |
---|---|---|
committer | Patrick O'Neill <patrick@rivosinc.com> | 2023-10-27 11:13:56 -0700 |
commit | 92fcbe8a323faee4c0fc571560f1a32317c4b26a (patch) | |
tree | 5b3545132cb74e27ecad7de16e37e4a9a361ad4a /gcc/expr.cc | |
parent | 32cc0b82a3c2e38caa9f2266d4ba375ccb1fe9cc (diff) | |
download | gcc-92fcbe8a323faee4c0fc571560f1a32317c4b26a.zip gcc-92fcbe8a323faee4c0fc571560f1a32317c4b26a.tar.gz gcc-92fcbe8a323faee4c0fc571560f1a32317c4b26a.tar.bz2 |
RISC-V: Make stack_save_restore_2 more robust
GCC recently changed to emit __riscv_restore_5 which causes this
testcase to fail.
This patch updates the regex to be more robust to change by accepting
any number after __riscv_save_ and __riscv_restore_.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/stack_save_restore_2.c: Accept any number
after __riscv_save_ and __riscv_restore_.
Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions