[PATCH] D17023: pr26544: Bitfield layout with pragma pack and attributes "packed" and "aligned

Vladimir Yakovlev via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 9 06:22:33 PST 2016


vbyakovlcl created this revision.
vbyakovlcl added a reviewer: rjmccall.
vbyakovlcl added subscribers: DmitryPolukhin, cfe-commits.

Fix clang/gcc incompatibility of bitfields layout in the presence of pragma packed and attributes aligned and packed.

http://reviews.llvm.org/D17023

Files:
  lib/AST/RecordLayoutBuilder.cpp
  test/Sema/bitfield-layout_1.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17023.47308.patch
Type: text/x-patch
Size: 5264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160209/c39c12f7/attachment-0001.bin>


More information about the cfe-commits mailing list