[Bug middle-end/19430] Missing uninitialized warning

skunk at iskunk dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 2 23:36:00 GMT 2007



------- Comment #12 from skunk at iskunk dot org  2007-03-02 23:36 -------
Here's my minimal test case. Compile with "-O3 -Wall -c":

#include <stdio.h>

void frob(int *pi);

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

    return 0;
}

No warning from 4.0.3 nor 4.1.2....


-- 


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



More information about the Gcc-bugs mailing list