[Webkit-unassigned] [Bug 129683] New: Web Inspector: build: InspectorJSTypeBuilders.h breaks strict-aliasing rules

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 4 07:17:49 PST 2014


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

           Summary: Web Inspector: build: InspectorJSTypeBuilders.h breaks
                    strict-aliasing rules
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: prlw1 at cam.ac.uk


./DerivedSources/JavaScriptCore/InspectorJSTypeBuilders.h:116:66: warning: deref
erencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing
]
             return *reinterpret_cast<RefPtr<Location>*>(&m_result);


It looks as though that header is careful about trying to only cast compatible objects.

Need some unions or a sprinkling of -fno-strict-aliasing ?

This is using the recent webkitgtk-2.3.91 tarball.

-- 
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