RISC-V: Fix build error
authorKito Cheng <kito.cheng@gmail.com>
Wed, 8 Nov 2017 22:04:49 +0000 (22:04 +0000)
committerPalmer Dabbelt <palmer@gcc.gnu.org>
Wed, 8 Nov 2017 22:04:49 +0000 (22:04 +0000)
commitfb5621b1841b56a88f66fb1e08dd87db0009c57b
tree68f2911a3e07379f84870d41a07eefd3351c2e86
parentfd5dce5c53117501297c17a4e092a13009d2c119
RISC-V: Fix build error

  - This build error was indroduced by "RISC-V: Implement movmemsi"
    and "RISC-V: Support -mpreferred-stack-boundary flag"

gcc/ChangeLog

2017-11-08  Kito Cheng  <kito.cheng@gmail.com>

        * config/riscv/riscv-protos.h (riscv_slow_unaligned_access_p):
        New extern.
        (MOVE_RATIO): Use riscv_slow_unaligned_access_p.
        config/riscv/riscv.c (predict.h): New include.
        (riscv_slow_unaligned_access_p): No longer static.
        (riscv_block_move_straight): Add require.
        config/riscv/riscv-protos.h (riscv_hard_regno_nregs): Delete.

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