On 6/5/23 19:57, Fei Gao wrote:
gcc/ChangeLog:

         * config/riscv/riscv.cc (riscv_adjust_libcall_cfi_prologue): use Pmode 
for cfi reg/mem machmode
         (riscv_adjust_libcall_cfi_epilogue): use Pmode for cfi reg machmode

gcc/testsuite/ChangeLog:

         * gcc.target/riscv/save-restore-cfi-2.c: New test to check machmode 
for cfi reg/mem.
I rewrapped the ChangeLog to 80 columns and reindented the arguments to the gen_frame_mem call to match our formatting guidelines.

Pushed to the trunk.

Thanks,
jeff

Reply via email to