https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122114
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jeff Law <[email protected]>: https://gcc.gnu.org/g:ab429ea91d50e5ddb8eb5bc2098c6a476860a01b commit r16-4217-gab429ea91d50e5ddb8eb5bc2098c6a476860a01b Author: Raphael Moreira Zinsly <[email protected]> Date: Sat Oct 4 08:36:48 2025 -0600 [PATCH v2] RISC-V: Fix type of CFA during stack probe [PR122114] Changes since v1: - Limit test to rv64. -->8-- frame.total_size may not be a constant, this patch changes the type of the stored cfa offset to avoid errors trying to convert the frame size. PR target/122114 gcc/ChangeLog: * config/riscv/riscv.cc (riscv_allocate_and_probe_stack_space): Change initial_cfa_offset type. gcc/testsuite/ChangeLog: * gcc.target/riscv/pr122114.c: New test.
