WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
20693
REGRESSION(
r36016
): JavaScriptCore no longer builds with GCC 4.2 due to strict aliasing violations
https://bugs.webkit.org/show_bug.cgi?id=20693
Summary
REGRESSION(r36016): JavaScriptCore no longer builds with GCC 4.2 due to stric...
Mark Rowe (bdash)
Reported
2008-09-06 23:28:01 PDT
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
>.
Attachments
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2008-09-07 00:43:11 PDT
I will be fixing this shortly.
Alexey Proskuryakov
Comment 2
2009-03-12 02:31:14 PDT
Is this still an issue?
Mark Rowe (bdash)
Comment 3
2009-03-12 02:38:29 PDT
Nope. JavaScriptCore has defaulted to GCC 4.2 for a while now, so we'd have noticed if things were broke.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug