This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/24129] New: [4.0 4.1 regression] bogus warning <var> is used uninitialized in this function
- From: "doko at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Sep 2005 20:23:47 -0000
- Subject: [Bug middle-end/24129] New: [4.0 4.1 regression] bogus warning <var> is used uninitialized in this function
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ 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