[Bug c/58488] -Wuninitialized is useless for a variable whose address is later taken

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Sep 22 10:49:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58488

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org
             Blocks|                            |24639

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
So you want the warning even with -O0?

I am not sure that, without optimization, the internal representation can
detect this case.


More information about the Gcc-bugs mailing list