[Webkit-unassigned] [Bug 59477] New: Loss of precission errors throughout the codebase spotted by GCC 4.6

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 26 11:48:35 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=59477

           Summary: Loss of precission errors throughout the codebase
                    spotted by GCC 4.6
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: xan.lopez at gmail.com


GCC 4.6 seems to be more picky about trying to stuff 64bit values into 32bit variables (as it should!). All the cases seem safe to fix by forcefully casting the value, since it seems either impossible (ByteCodeGenerator, UTF8, ...) or extremely unlikely (the string length in FontGtk) that the value would overflow a 32bit value. At worst, we are not really making things worse, but of course in some cases it might make sense to change the code to not force a cast here.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list