Re: [PATCH] RISC-V/libgcc: Use `-fasynchronous-unwind-tables' for LIB2_DIVMOD_FUNCS

2020-09-28 Thread Maciej W. Rozycki
Hi Jim, > On Sun, Aug 30, 2020 at 11:39 PM Kito Cheng wrote > > Hi Maciej: > > LGTM, thanks for your patch! > > I don't see this patch in the FSF GCC tree. Maciej are you going to > commit it? Or do you want us to commit it for you? Since my departure from WDC I have been largely away,

Re: [PATCH] RISC-V/libgcc: Use `-fasynchronous-unwind-tables' for LIB2_DIVMOD_FUNCS

2020-09-28 Thread Jim Wilson
On Sun, Aug 30, 2020 at 11:39 PM Kito Cheng wrote > Hi Maciej: > LGTM, thanks for your patch! I don't see this patch in the FSF GCC tree. Maciej are you going to commit it? Or do you want us to commit it for you? Jim

Re: [PATCH] RISC-V/libgcc: Use `-fasynchronous-unwind-tables' for LIB2_DIVMOD_FUNCS

2020-08-31 Thread Kito Cheng via Gcc-patches
Hi Maciej: LGTM, thanks for your patch! On Sat, Aug 29, 2020 at 9:19 PM Maciej W. Rozycki via Gcc-patches wrote: > > Use `-fasynchronous-unwind-tables' rather than `-fexceptions > -fnon-call-exceptions' in LIB2_DIVMOD_FUNCS compilation flags so as to > provide unwind tables for the affected

[PATCH] RISC-V/libgcc: Use `-fasynchronous-unwind-tables' for LIB2_DIVMOD_FUNCS

2020-08-29 Thread Maciej W. Rozycki via Gcc-patches
Use `-fasynchronous-unwind-tables' rather than `-fexceptions -fnon-call-exceptions' in LIB2_DIVMOD_FUNCS compilation flags so as to provide unwind tables for the affected functions while not pulling the unwinder proper, which is not required here. Beyond saving program space it fixes a RISC-V