On Mon, 24 Jul 2023, Nicola Vetrini wrote:
> The usage of a documented GNU extension that allows a range of elements
> in an array to be initalized to the same value using a designated
> initalizer is added to this document, to fully comply with
> MISRA C:2012 Rule 1.1.
>
> Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
> ---
> docs/misra/C-language-toolchain.rst | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/docs/misra/C-language-toolchain.rst b/docs/misra/C-language-toolchain.rst
> index 8651f59118..785aed1eaf 100644
> --- a/docs/misra/C-language-toolchain.rst
> +++ b/docs/misra/C-language-toolchain.rst
> @@ -196,6 +196,10 @@ The table columns are as follows:
> - X86_64
> - See Section "6.9 128-bit Integers" of GCC_MANUAL.
>
> + * - Designated initializer for a range of elements
> + - ARM64, X86_64
> + - See Section "6.29 Designated Initializers" of GCC_MANUAL
> +
>
> Translation Limits
> __________________
> --
> 2.34.1
>