Summary: | x86 GCC bug triggers a compilation error in generated copy constructor of CollapsedBorderValue | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Levi Weintraub <leviw> | ||||||
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | jamesr, ossy, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
URL: | http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20ChromeOS/builds/27027/steps/compile/logs/stdio | ||||||||
Attachments: |
|
Description
Levi Weintraub
2012-03-19 01:40:58 PDT
Created attachment 132559 [details]
A speculative fix
Greetings,
It seems gcc (x86) somehow creates a broken copy constructor (used by HashSet<> in the RenderTableSection class) because the CollapsedBorderValue class does not have a copy constructor. This change adds a copy constructor to the CollapsedBorderValue class so GCC can use it. (The "Google Chrome Linux" bot can compile RenderTableSelection.cpp without errors when I locally applied this change: <ttp://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Linux/builds/18598>.)
Regards,
Hironori Bono
Comment on attachment 132559 [details]
A speculative fix
r=me. Having a link to this bug in the code will prevent this from accidental future removal.
Created attachment 132563 [details]
A speculative fix 2 (added a comment)
Greetings Morita-san,
Thanks for your review and a comment. I have added a comment to the constructor.
Regards,
Hironori Bono
Comment on attachment 132563 [details] A speculative fix 2 (added a comment) Clearing flags on attachment: 132563 Committed r111171: <http://trac.webkit.org/changeset/111171> All reviewed patches have been landed. Closing bug. |