On Tue, 15 Feb 2022, Jonathan Wakely via Gcc-patches wrote:

> Tested powerpc64le-linux, OK for trunk?
> 
> -- >8 --
> 
> C++ allows unnamed parameters, which means we don't need to call them
> 'dummy' and mark them with the unused attribute.
> 
> gcc/c-family/ChangeLog:
> 
>       * c-pragma.cc (handle_pragma_pack): Remove parameter name.
>       (handle_pragma_weak): Likewise.
>       (handle_pragma_scalar_storage_order): Likewise.
>       (handle_pragma_redefine_extname): Likewise.
>       (handle_pragma_visibility): Likewise.
>       (handle_pragma_diagnostic): Likewise.
>       (handle_pragma_target): Likewise.
>       (handle_pragma_optimize): Likewise.
>       (handle_pragma_push_options): Likewise.
>       (handle_pragma_pop_options): Likewise.
>       (handle_pragma_reset_options): Likewise.
>       (handle_pragma_message): Likewise.
>       (handle_pragma_float_const_decimal64): Likewise.

OK.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to