https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394

--- Comment #10 from Marc Glisse <glisse at gcc dot gnu.org> ---
IMO -Wmaybe-uninitialized should not be enabled by -Wall, whatever the
optimization level (even at -O3), it has too many false positives that are all
but impossible to work around (thus violating the definition of -Wall), -Wextra
is good enough for it. We could keep -Wuninitialized though (it requires
changing the dependency between these 2 warnings).
It is possible that even -Wextra should require at least -O1 (considering -Og
as -O0.5) to enable it...

Reply via email to