https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69578
Bug ID: 69578 Summary: -Wuninitialized not issuing warning. Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: lvenkatakumarchakka at gmail dot com Target Milestone: --- int main() { int i, j; for( j=0; j<10; j++ ) { printf( "%d\n", i ); for( i=0; i<10;i++ ); } return 0; } compiling above code with -Wuninitialized is supposed to issue warning which is not happening.