Committed as r274107 Hi Jakub, Richard:
This patch is fix ABI bug for libcall on RISC-V, we've also tested on gcc 8 and 9, it's ok for gcc 9 and 8? Thanks. On Fri, Aug 2, 2019 at 11:52 PM Jim Wilson <j...@sifive.com> wrote: > > On Fri, Aug 2, 2019 at 12:11 AM Kito Cheng <kito.ch...@sifive.com> wrote: > > gcc/ChangeLog > > * config/riscv/riscv.c (riscv_promote_function_mode): New. > > (TARGET_PROMOTE_FUNCTION_MODE): Use riscv_promote_function_mode. > > gcc/testsuite/ChangeLog > > * gcc.target/riscv/promote-type-for-libcall.c: New. > > Thanks. This looks good, and fails with gcc mainline without the patch. > > Jim