http://llvm.org/bugs/show_bug.cgi?id=17715
Bug ID: 17715
Summary: Name mangling for local types that inherit from a
non-local type with a template constructor which we
inherit
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
consider:
struct X {
template <typename T>
X(T) {}
};
void *foo() {
struct Y : X {
using X::X;
};
static Y a(0);
return &a;
}
we emit the following symbol:
_ZZ3foovEN3foo1YC1IiEET_
g++ gives:
_ZZ3foovEN1YC2IiEET_
GCC's symbol looks more correct here.
--
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