RISC-V: Make sure stack is always aligned during adjusting stack

Programming / Compilers / GCC - wilson [138bc75d-0d04-0410-961f-82ee72b054a4] - 20 April 2018 19:03 EDT

gcc/ 2018-04-20 Kito Cheng
- config/riscv/riscv.c (riscv_first_stack_step): Round up min step to make sure stack always aligned.

426ed695421 RISC-V: Make sure stack is always aligned during adjusting stack.
gcc/ChangeLog | 5 +++++
gcc/config/riscv/riscv.c | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)

Upstream: gcc.gnu.org


  • Share