------- Comment #5 from manu at gcc dot gnu dot org  2009-02-12 11:22 -------
At the moment of warning, the compiler does not know that the uninitialized
variables are only used if they have been set before. Hence, the warning.

This will require conditional PHIs (or some other way to detect that some PHI
operands are never reached).

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


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
OtherBugsDependingO|                            |24639
              nThis|                            |
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE
            Summary|wrong optimization produces |wrong optimization produces
                   |output of false warning     |output of false warning
                   |                            |(conditional PHIs)


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

Reply via email to