[LLVMbugs] [Bug 21573] libxcb-1.11 miscompiles with Clang -O2 on x86_32/linux
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Nov 14 17:45:34 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=21573
Reid Kleckner <rnk at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Assignee|unassignedbugs at nondot.org |rnk at google.com
--- Comment #8 from Reid Kleckner <rnk at google.com> ---
I went and looked at sys/socket.h, and it uses transparent unions. After
reading the gcc docs
(https://gcc.gnu.org/onlinedocs/gcc/Type-Attributes.html#index-g_t_0040code_007btransparent_005funion_007d-attribute-3157),
we decided this was a bug in clang. transparent union changes how the value is
passed.
Turns out, we had a test case with a FIXME already documenting the problem. I
fixed it in r222074.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141115/f008d5c0/attachment.html>
More information about the llvm-bugs
mailing list