Linux 6.3-rc3

Linus Torvalds torvalds at linux-foundation.org
Mon Mar 20 20:30:17 UTC 2023


On Mon, Mar 20, 2023 at 1:05 PM Guenter Roeck <linux at roeck-us.net> wrote:
>
> I have noticed that gcc doesn't always warn about uninitialized variables
> in most architectures.

Yeah, I'm getting the feeling that when the gcc people were trying to
make -Wmaybe-uninitialized work better (when moving it into "-Wall"),
they ended up moving a lot of "clearly uninitialized" cases into it.

So then because we disable the "maybe" case (with
-Wno-maybe-uninitialized) because it had too many random false
positives, we end up not seeing the obvious cases either.

              Linus


More information about the dri-devel mailing list