Fix typos in riscv register save/restore.
authorJim Wilson <jimw@sifive.com>
Mon, 4 Dec 2017 22:08:47 +0000 (22:08 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 4 Dec 2017 22:08:47 +0000 (14:08 -0800)
commitf3abed16a01153c7a72d5795076c392cdb19c9dd
treeb5e60df1d985e303e69d27d012e86506ff003219
parent75622c9e2f81c00feb50a347b8ad6063b2a5134f
Fix typos in riscv register save/restore.

gcc/
* config/riscv/riscv.c (riscv_for_each_saved_reg): Use GP_REG_LAST
instead of GP_REG_LAST-1.
(riscv_adjust_libcall_cfi_prologue): Likewise.
(riscv_adjust_libcall_cri_epilogue): Likewise.
* config/riscv/riscv.h (CALL_USED_REGISTERS): Change a6 to t6 in
comment.

From-SVN: r255389
gcc/ChangeLog
gcc/config/riscv/riscv.c
gcc/config/riscv/riscv.h