------- Comment #4 from pinskia at gcc dot gnu dot org  2010-08-31 20:28 -------
#include <stdio.h>

int main(void)
{
    int i;
    printf ("%d\n", i);

    return 0;
}

Is warned about with -Wuninitialized at -O0.  We don't warn about the uses that
might be used unitialized.  That means if i is gets put into a PHI before the
use, we don't warn.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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

Reply via email to