[LLVMbugs] [Bug 16994] New: [-cxx-abi microsoft] Mangle anonymous types correctly
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Aug 25 02:36:24 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16994
Bug ID: 16994
Summary: [-cxx-abi microsoft] Mangle anonymous types correctly
Product: clang
Version: trunk
Hardware: PC
OS: All
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
Consider:
inline int foo() {
static struct {
int a;
} x = {20};
return x.a;
}
void bar() {
foo();
}
we mangle x as:
?x@?1??foo@@YAHXZ at 4U<unnamed-tag>?1??1 at YAHXZ@A
we should mangle x as:
?x@?1??foo@@YAHXZ at 4U<unnamed-type-x>@?1??1 at YAHXZ@A
--
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/20130825/8a3338a3/attachment.html>
More information about the llvm-bugs
mailing list