[Bug c/46684] GCC throws incorrect "may be used uninitialized" warnings

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 24 23:52:00 GMT 2012


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |manu at gcc dot gnu.org
         Resolution|                            |DUPLICATE

--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-10-24 23:52:06 UTC ---
(In reply to comment #1)
> As only constant initializers are involved CCP optimizes based on undefinedness
> of uninitialized variables.

Ergo, bug 18501.

*** This bug has been marked as a duplicate of bug 18501 ***



More information about the Gcc-bugs mailing list