[LLVMbugs] [Bug 17715] New: Name mangling for local types that inherit from a non-local type with a template constructor which we inherit
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Oct 28 19:56:47 PDT 2013
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: unassignedclangbugs at nondot.org
Reporter: david.majnemer at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131029/0f89c108/attachment.html>
More information about the llvm-bugs
mailing list