[Webkit-unassigned] [Bug 20693] New: REGRESSION: JavaScriptCore no longer builds with GCC 4.2 due to strict aliasing violations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 6 23:28:01 PDT 2008


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

           Summary: REGRESSION: JavaScriptCore no longer builds with GCC 4.2
                    due to strict aliasing violations
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: Regression, NeedsRadar, ReviewedForRadar
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mrowe at apple.com


The warnings are as follows:
kjs/PropertyMap.h: In member function 'KJS::JSValue*
KJS::PropertyMap::getOffset(size_t)':
kjs/PropertyMap.h:102: warning: dereferencing type-punned pointer will break
strict-aliasing rules
kjs/PropertyMap.h: In member function 'void KJS::PropertyMap::putOffset(size_t,
KJS::JSValue*)':
kjs/PropertyMap.h:107: warning: dereferencing type-punned pointer will break
strict-aliasing rules
kjs/PropertyMap.h: In member function 'size_t
KJS::PropertyMap::offsetForTableLocation(KJS::JSValue**)':
kjs/PropertyMap.h:133: warning: dereferencing type-punned pointer will break
strict-aliasing rules

I believe this was introduced by <http://trac.webkit.org/changeset/36016>.


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



More information about the webkit-unassigned mailing list