http://llvm.org/bugs/show_bug.cgi?id=21573
Reid Kleckner <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|[email protected] |[email protected] --- Comment #8 from Reid Kleckner <[email protected]> --- 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.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
