| commit | c70696b3daaaa45043be5cd7219e15894bc32e50 | [log] [tgz] |
|---|---|---|
| author | Andreas Schwab <schwab@suse.de> | Wed Jul 16 14:48:51 2025 +0200 |
| committer | Andreas Schwab <schwab@suse.de> | Thu Jul 31 12:51:41 2025 +0200 |
| tree | 938d59e7ab3862acfa7ba9a84b6fd8782780e2d2 | |
| parent | 46860078a0dc147b76ad0cc660b021c6e5b7bb81 [diff] |
[RISC-V] Fix wrong CFA during stack probe temp1 is used by the probe loop for the step size, but we need the final address of the stack after the loop which resides in temp2. PR target/121121 * config/riscv/riscv.cc (riscv_allocate_and_probe_stack_space): Use temp2 instead of temp1 for the CFA note. (cherry picked from commit b441d735c092f5d60c4a9c7167ed9153003d49fa)