[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og
law at redhat dot com
gcc-bugzilla@gcc.gnu.org
Wed Dec 19 00:08:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
--- Comment #12 from Jeffrey A. Law <law at redhat dot com> ---
Whether or not to fix as well as whether or not to warn at -O0 are a topic of
debate. I'm not sure I'm up for re-opening that can of worms right now.
I strongly believe -Wmaybe-uninitialized should continue to be enabled by
-Wall. They tend to either point out obscure ways objects are uninitialized
or they point out missed optimizations. Both are critical in my mind.
More information about the Gcc-bugs
mailing list