[Bug middle-end/78044] -Wmaybe-uninitialized and -O2: false positive with boost::optional

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 19 19:35:00 GMT 2016


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
          Component|c++                         |middle-end

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There are already filed bug reports about false positive for this warning. 
This might be a dup of one of those.  

Also this warning is hard not to get false positives really for conditional
unitialized variables which is why the option was split into two.  One for the
hard for GCC to prove that it is not a false positive (-Wmaybe-uninitialized).


More information about the Gcc-bugs mailing list