RISC-V: Fix bootstrap failure.
commitc0d3d1b681f7847299b2e8e14c61cf903d6ee8fd
authorJim Wilson <jimw@sifive.com>
Mon, 19 Mar 2018 18:08:24 +0000 (19 18:08 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 19 Mar 2018 18:08:24 +0000 (19 11:08 -0700)
tree6c750ebf2a08f4fbadc51e44dfe2f389b7ee21bc
parentbe742eb4d4a3295d6e07e4c8d66a5ab54a68ef2f
RISC-V: Fix bootstrap failure.

gcc/
PR bootstrap/84856
* config/riscv/riscv.c (riscv_function_arg_boundary): Use
PREFERRED_STACK_BOUNDARY instead of STACK_BOUNDARY.
(riscv_first_stack_step): Likewise.
(riscv_option_override): Use STACK_BOUNDARY instead of
MIN_STACK_BOUNDARY.
* config/riscv/riscv.h (STACK_BOUNDARY): Renamed from
MIN_STACK_BOUNDARY.
(BIGGEST_ALIGNMENT): Set to 128.
(PREFERRED_STACK_BOUNDARY): Renamed from STACK_BOUNDARY.
(RISCV_STACK_ALIGN): Use PREFERRED_STACK_BOUNDARY instead of
STACK_BOUNDARY.

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