RISC-V: Fix 32-bit stack pointer alignment problem.
commita7210cc8bc89f7664182b1d9168b1b16ed40f19d
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Apr 2018 21:41:07 +0000 (17 21:41 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Apr 2018 21:41:07 +0000 (17 21:41 +0000)
treed7a3fd5c0cd7a1e37a3b3ea228d5bd4cbad7857a
parent269483bb5b8d079ffd3523ae32d7acd81ead5e60
RISC-V: Fix 32-bit stack pointer alignment problem.

gcc/
PR 84856
* config/riscv/riscv.c (riscv_compute_frame_info): Add calls to
RISCV_STACK_ALIGN when using outgoing_args_size and pretend_args_size.
Set arg_pointer_offset after using pretend_args_size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259449 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/riscv/riscv.c