[Bug middle-end/49848] False positive warning triggered by -Wmaybe-uninitialized

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 25 00:13:00 GMT 2012


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-10-25
                 CC|                            |manu at gcc dot gnu.org
             Blocks|                            |24639
     Ever Confirmed|0                           |1

--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-10-25 00:12:34 UTC ---
Still present in GCC 4.8.0pr49848.c: In function ‘foo’:
pr49848.c:14:21: warning: ‘b’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
  if (a != NULL && b != NULL)
                     ^



More information about the Gcc-bugs mailing list