On Mon, 5 Aug 2019, Kito Cheng wrote: > 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?
Works for me. Thanks, Richard. > 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 > -- Richard Biener <rguent...@suse.de> SUSE Linux GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany; GF: Felix Imendörffer, Mary Higgins, Sri Rasiah; HRB 21284 (AG Nürnberg)