Messages in this thread | | | From | Linus Torvalds <> | Date | Mon, 20 Mar 2023 13:30:17 -0700 | Subject | Re: Linux 6.3-rc3 |
| |
On Mon, Mar 20, 2023 at 1:05 PM Guenter Roeck <linux@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
| |