[Webkit-unassigned] [Bug 60690] Avoid increasing required alignment of target type warning on ARM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 5 21:23:40 PDT 2011


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





--- Comment #14 from Oliver Hunt <oliver at apple.com>  2011-07-05 21:23:38 PST ---
(In reply to comment #12)
> > Created an attachment (id=94390)
 --> (https://bugs.webkit.org/attachment.cgi?id=94390&action=review) [details]
> 
> Although it looks good to me, it would be nice to do the following as well:
> - do a Debug build and check the usual tests
> - check weather unvalidatedGet causes any alignment warning in WriteBarrier.h

Default debug build should hit unvalidatedGet()

That said this warning has always irked me as it seems hellbent on occuring for completely valid casts, like this:
warning: cast from 'JSC::JSCell*' to 'JSC::JSGlobalObject*' increases required alignment of target type

JSGlobalObject is a subclass of JSCell.  It would be a compiler bug if the compiler allowed JSGlobalObject to have alignment  requirements that differed from jscell.

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