https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121021
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #3)
> Hmm, I do think there is a documentation issue though it says -Wextra
> enables -Wuninitialized but it is -Wall that does.
Right, -Wextra clearly documents that it enables it:
-Wextra
This enables some extra warning flags that are not enabled by -Wall.
[...]
[...] -Wuninitialized [...]
That's why I told the reporter that it's not in -Wall which turns out to have
been wrong.