Iain, thanks very much for fixing this, and I'm very sorry for the oversight!

Bill

On 12/17/21 3:46 AM, Iain Sandoe via Gcc-patches wrote:
> This adds a missed change from r12-5974-g926d64906af.
> The builin_decls array has been renamed to drop the trailing
> _x that was used during the main changes to the builtins.
>
> This fixes bootstrap for powerpc-darwin9, tested there, pushed
> to master, thanks,
> Iain
>
> Signed-off-by: Iain Sandoe <i...@sandoe.co.uk>
>
> gcc/ChangeLog:
>
>       * config/rs6000/darwin.h: Drop trailing _x from the
>       builtin_decls array name.
> ---
>  gcc/config/rs6000/darwin.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h
> index 7bc1009a523..8288003038e 100644
> --- a/gcc/config/rs6000/darwin.h
> +++ b/gcc/config/rs6000/darwin.h
> @@ -507,7 +507,7 @@
>  #define SUBTARGET_INIT_BUILTINS                                              
> \
>  do {                                                                 \
>    darwin_patch_builtins ();                                          \
> -  rs6000_builtin_decls_x[(unsigned) (RS6000_BIF_CFSTRING)]           \
> +  rs6000_builtin_decls[(unsigned) (RS6000_BIF_CFSTRING)]             \
>      = darwin_init_cfstring_builtins ((unsigned) (RS6000_BIF_CFSTRING)); \
>  } while(0)
>

Reply via email to