[LLVMbugs] [Bug 18464] New: [-cxx-abi microsoft] size involving pragma pack and declspec(align) is wrong
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jan 13 15:37:19 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18464
Bug ID: 18464
Summary: [-cxx-abi microsoft] size involving pragma pack and
declspec(align) is wrong
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: david.majnemer at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
extern "C" int printf(const char *fmt, ...);
struct ClassName0 {
char ClassName0FieldName0;
};
#pragma pack(push, 1)
struct ClassName1 : public ClassName0 {
__declspec(align(2)) char ClassName1FieldName5;
};
#pragma pack(pop)
int main() { printf(" sizeof(ClassName1): %Iu\n", sizeof(ClassName1));
--
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/20140113/1fe086fe/attachment.html>
More information about the llvm-bugs
mailing list