r266241 - in /trunk/gcc: ChangeLog config/riscv...
wilson@gcc.gnu.org
wilson@gcc.gnu.org
Sat Nov 17 23:31:00 GMT 2018
Author: wilson
Date: Sat Nov 17 23:31:01 2018
New Revision: 266241
URL: https://gcc.gnu.org/viewcvs?rev=266241&root=gcc&view=rev
Log:
RISC-V: Fix epilogue unwind info with fp and single sp adjust.
gcc/
* config/riscv/riscv.c (epilogue_cfa_sp_offset): New.
(riscv_restore_reg): If restoring HARD_FRAME_POINTER_REGNUM, and
epilogue_cfa_sp_offset set, then add REG_CFA_DEF_CFA regnote.
(riscv_expand_epilogue): Initialize epilogue_cfa_sp_offset. Set it
to step2 if frame_pointer_needed and step1 is 0.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/riscv/riscv.c
More information about the Gcc-cvs
mailing list