This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/24129] New: [4.0 4.1 regression] bogus warning <var> is used uninitialized in this function


$ 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]