]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Fix 32-bit stack pointer alignment problem.
authorJim Wilson <jimw@sifive.com>
Tue, 17 Apr 2018 21:41:07 +0000 (21:41 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 17 Apr 2018 21:41:07 +0000 (14:41 -0700)
commit035fc2add18c0dd06c22bd158a47bf35b8c1c528
treed7a3fd5c0cd7a1e37a3b3ea228d5bd4cbad7857a
parentcbe679a486d11b1d959042732a9ddc204afbb661
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.

From-SVN: r259449
gcc/ChangeLog
gcc/config/riscv/riscv.c