[LLVMbugs] [Bug 18118] New: [ms-abi] Clang fails to ignore trumped __declspec(align)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Dec 2 15:12:35 PST 2013
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: unassignedclangbugs at nondot.org
Reporter: whunt at google.com
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131202/01bc3f29/attachment.html>
More information about the llvm-bugs
mailing list