[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 19 03:28:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=80635
--- Comment #13 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #11)
> (In reply to Marc Glisse from comment #10)
> > 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).
>
> I think I remember at least 1 other bug where we came to this conclusion; I
> forget its number right now though...
Right, it was bug 80635
More information about the Gcc-bugs
mailing list