https://llvm.org/bugs/show_bug.cgi?id=25707

David Majnemer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WONTFIX

--- Comment #1 from David Majnemer <[email protected]> ---
Our ms_struct support is designed to make us compatible with MSVC's bitfield
algorithm, not with GCC implementation of ms_struct.

Running your example with MSVC 2015 Update 1 (19.00.23427.0) gives:

sizeof(struct B) = 12

offsetof(struct B, BField) = 8

__alignof(struct B) = 4

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to