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

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |tkoenig at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
From the documentation of -Wmaybe-uninitialized:

"These warnings are only possible in optimizing compilation, because otherwise
GCC does not keep track of the state of variables. "

Maybe you could try -Og, this should strike a good balance between optimization
and debugging.

Closing.

Reply via email to