https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103004

--- Comment #4 from Raphael M Zinsly <rzinsly at linux dot ibm.com> ---
On a system with an old toolchain I'm seeing (In reply to Jakub Jelinek from
comment #3)
> I think the warning should be fixed with following, just need to test it:
> 
> --- libgcc/config/rs6000/linux-unwind.h.jj    2021-10-15 11:59:16.227682621
> +0200
> +++ libgcc/config/rs6000/linux-unwind.h       2021-11-09 11:42:06.840353422 
> +0100
> @@ -395,7 +395,8 @@ struct frame_layout
>  };
>  
>  
> -void ppc_backchain_fallback (struct _Unwind_Context *context, void *a)
> +static void
> +ppc_backchain_fallback (struct _Unwind_Context *context, void *a)
>  {
>    struct frame_layout *current;
>    struct trace_arg *arg = a;

That works, I included in the proposed patch
(https://gcc.gnu.org/pipermail/gcc-patches/2021-November/584043.html), thanks!

Reply via email to