https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121121

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Andreas Schwab
<sch...@gcc.gnu.org>:

https://gcc.gnu.org/g:c70696b3daaaa45043be5cd7219e15894bc32e50

commit r15-10170-gc70696b3daaaa45043be5cd7219e15894bc32e50
Author: Andreas Schwab <sch...@suse.de>
Date:   Wed Jul 16 14:48:51 2025 +0200

    [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)

Reply via email to