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

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

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

commit r16-2389-gb441d735c092f5d60c4a9c7167ed9153003d49fa
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.

Reply via email to