[llvm-bugs] [Bug 32970] New: -fno-short-enums does not work
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon May 8 15:18:31 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=32970
Bug ID: 32970
Summary: -fno-short-enums does not work
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: matze at braunis.de
CC: llvm-bugs at lists.llvm.org
While trying to write a unittest I noticed that -fno-short-enums does not
appear to work correctly in clang. Example:
$ cat t.cpp
int x = sizeof(wchar_t);
$ clang++ -target x86_64-unknown-windows-msvc -fno-short-enums t.cpp -S -o -
...
"?x@@3HA":
.long 2 # 0x2
I would have expected .long 4
--
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/20170508/63ccf973/attachment.html>
More information about the llvm-bugs
mailing list