Re: [PATCH] libgcc: fix a warning calling find_fde_tail

2022-02-24 Thread Xi Ruoyao via Gcc-patches
On Thu, 2022-02-24 at 19:53 +0100, Jakub Jelinek wrote: > On Fri, Feb 25, 2022 at 02:35:07AM +0800, Xi Ruoyao via Gcc-patches > wrote: > > Bootstrapped on x86_64-linux-gnu.  OK for master? > > > > The third parameter of find_fde_tail is an _Unwind_Ptr (which is an > > integer type instead of a poi

Re: [PATCH] libgcc: fix a warning calling find_fde_tail

2022-02-24 Thread Jakub Jelinek via Gcc-patches
On Fri, Feb 25, 2022 at 02:35:07AM +0800, Xi Ruoyao via Gcc-patches wrote: > Bootstrapped on x86_64-linux-gnu. OK for master? > > The third parameter of find_fde_tail is an _Unwind_Ptr (which is an > integer type instead of a pointer), but we are passing NULL to it. This > causes a -Wint-convers

[PATCH] libgcc: fix a warning calling find_fde_tail

2022-02-24 Thread Xi Ruoyao via Gcc-patches
Bootstrapped on x86_64-linux-gnu. OK for master? The third parameter of find_fde_tail is an _Unwind_Ptr (which is an integer type instead of a pointer), but we are passing NULL to it. This causes a -Wint-conversion warning. libgcc/ * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_f