Re: [PATCH] init/Kconfig: extend -Wno-array-bounds to gcc 13

From: Miguel Ojeda
Date: Tue Mar 07 2023 - 06:45:53 EST


On Tue, Mar 7, 2023 at 2:07 AM Tom Rix <trix@xxxxxxxxxx> wrote:
>
> The build with fail generally with gcc 13.
>
> The warnings could be cleaned without having an error, but I looked at
> multiple errors, none of them were real.
>
> imo this is a broken compiler option.

I am not sure I understand -- my reading of Kees' message is that he
would prefer to get the warning (rather than the kernel) fixed before
GCC 13 releases.

Are you asking to have the option disabled until GCC 13 releases and
reevaluate then? How many warnings are you getting? Are those actual
errors or `-Werror`?

Cheers,
Miguel