http://llvm.org/bugs/show_bug.cgi?id=18118
Bug ID: 18118
Summary: [ms-abi] Clang fails to ignore trumped
__declspec(align)
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
cl takes the latter of two declspecs, clang takes the larger of the two
__declspec(align(16)) int __declspec(align(8)) x;
printf("%d\n", __alignof(x));
cl yeilds: 8
clang yeilds: 16
__declspec(align(8)) int __declspec(align(16)) x;
printf("%d\n", __alignof(x));
cl yeilds: 16
clang yeilds: 16
--
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