forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
questionQuestion asked by issue author.Question asked by issue author.
Description
This came up in an internal discussion, but we recently had a boogaloo because of some uninitialized value. It looks like clang could have caught that with -Wconditional-uninitialized, but:
-Wconditional-uninitializedis not part of the-Wuninitializedgroup (surprising)- The kernel doesn't enable
-Wconditional-uninitialized.
I can't recall if we ever evaluated the use of this flag on the kernel or not. I'm curious if we can turn it on or if it has false positives?
Example: https://godbolt.org/z/4G7G5MjGa
Metadata
Metadata
Assignees
Labels
questionQuestion asked by issue author.Question asked by issue author.