This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] RISC-V: Promote type correctly for libcalls


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 <jimw@sifive.com> wrote:
> >
> > On Fri, Aug 2, 2019 at 12:11 AM Kito Cheng <kito.cheng@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 <rguenther@suse.de>
SUSE Linux GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany;
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah; HRB 21284 (AG Nürnberg)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]