$ gcc -O3 -c -Wall -fno-strict-aliasing marshal.i ../Python/marshal.c: In function 'PyMarshal_ReadShortFromFile': ../Python/marshal.c:342: warning: 'rf.end' is used uninitialized in this function ../Python/marshal.c:342: warning: 'rf.ptr' is used uninitialized in this function
The warning is not shown with 3.4 CVS, seen with 4.0.2 and CVS HEAD 20050922, using -fno-inline-functions avoids the warning. -- Summary: [4.0 4.1 regression] bogus warning <var> is used uninitialized in this function Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: doko at debian dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24129