From: Jeff Law Date: Sun, 27 Aug 2023 19:00:13 +0000 (-0600) Subject: RISC-V: Fix spill-11.c testsuite failure X-Git-Tag: basepoints/gcc-15~6633 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3745feb19ed072e0865b12a891d7dbf7ba12c337;p=thirdparty%2Fgcc.git RISC-V: Fix spill-11.c testsuite failure Jivan's work also results in using a different save/restore function for the spill-11 test. So the expected output needs minor adjusting gcc/testsuite * gcc.target/riscv/rvv/base/spill-11.c: Adjust expected output. --- diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/spill-11.c b/gcc/testsuite/gcc.target/riscv/rvv/base/spill-11.c index 179be1c8c5bc..484a25108852 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/spill-11.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/spill-11.c @@ -9,7 +9,7 @@ void fn3 (char*); /* ** stack_save_restore_2: -** call\tt0,__riscv_save_2 +** call\tt0,__riscv_save_1 ** csrr\tt0,vlenb ** slli\tt1,t0,1 ** sub\tsp,sp,t1 @@ -23,7 +23,7 @@ void fn3 (char*); ** li\tt0,8192 ** addi\tt0,t0,-192 ** add\tsp,sp,t0 -** tail\t__riscv_restore_2 +** tail\t__riscv_restore_1 */ int stack_save_restore_2 (float a1, float a2, float a3, float a4, float a5, float a6, float a7, float a8,