Bug 157889 - [ARM] Fix the Wcast-align warning in LinkBuffer.cpp
Summary: [ARM] Fix the Wcast-align warning in LinkBuffer.cpp
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Csaba Osztrogonác
Depends on:
Blocks: 108645
  Show dependency treegraph
Reported: 2016-05-19 04:54 PDT by Csaba Osztrogonác
Modified: 2016-05-25 06:02 PDT (History)
9 users (show)

See Also:

Patch (1.43 KB, patch)
2016-05-19 04:55 PDT, Csaba Osztrogonác
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2016-05-19 04:54:56 PDT
./../Source/JavaScriptCore/assembler/LinkBuffer.cpp: In function 'void JSC::recordLinkOffsets(JSC::AssemblerData&, int32_t, int32_t, int32_t)':
../../Source/JavaScriptCore/assembler/LinkBuffer.cpp:93:73: error: cast from 'char*' to 'int32_t* {aka int*}' increases required alignment of target type [-Werror=cast-align]
     int32_t* offsets = reinterpret_cast<int32_t*>(assemblerData.buffer());
cc1plus: all warnings being treated as errors
Comment 1 Csaba Osztrogonác 2016-05-19 04:55:50 PDT
Created attachment 279381 [details]
Comment 2 WebKit Commit Bot 2016-05-25 06:02:16 PDT
Comment on attachment 279381 [details]

Clearing flags on attachment: 279381

Committed r201380: <http://trac.webkit.org/changeset/201380>
Comment 3 WebKit Commit Bot 2016-05-25 06:02:20 PDT
All reviewed patches have been landed.  Closing bug.