https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84856

--- Comment #5 from Jim Wilson <wilson at gcc dot gnu.org> ---
Author: wilson
Date: Mon Mar 19 18:08:24 2018
New Revision: 258650

URL: https://gcc.gnu.org/viewcvs?rev=258650&root=gcc&view=rev
Log:
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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/riscv/riscv.c
    trunk/gcc/config/riscv/riscv.h

Reply via email to