http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59223
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
I am pretty sure that this is an oversight when the option got renamed. In
particular, this seems appropriate:
Index: tree-ssa-uninit.c
===================================================================
--- tree-ssa-uninit.c (revision 205089)
+++ tree-ssa-uninit.c (working copy)
@@ -2175,7 +2175,7 @@
static bool
gate_warn_uninitialized (void)
{
- return warn_uninitialized != 0;
+ return warn_uninitialized || warn_maybe_uninitialized;
}
since the pass can warn for both options and the warnings are already guarded
by the appropriate OPT_W* code.