http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54374
Bug #: 54374 Summary: analysis for "may be used uninitialized" degraded... Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: regression AssignedTo: unassig...@gcc.gnu.org ReportedBy: gbburkha...@gmail.com Created attachment 28083 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28083 example code gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Target: x86_64-linux-gnu With the 4.6.3 compiler for the attached code, I get: gcc -g -c -O2 -Wall e?.c -m32 e0.c: In function "main": e0.c:277:21: warning: "level" may be used uninitialized in this function [-Wuninitialized] e0.c:279:12: warning: "portno" may be used uninitialized in this function [-Wuninitialized] but with the 4.5.2 compiler, I get: gcc -O2 -Wall -c e?.c e0.c: In function "main": e0.c:259:9: warning: "portno" may be used uninitialized in this function e0.c:263:9: warning: "level" may be used uninitialized in this function e1.c: In function "main": e1.c:259:9: warning: "portno" may be used uninitialized in this function e1.c:264:9: warning: "level" may be used uninitialized in this function gcc --version gcc (Ubuntu/Linaro 4.5.1-7ubuntu2) 4.5.1 Target: i686-linux-gnu