[LLVMbugs] [Bug 20053] New: clang-cl gives: cannot compile this non-trivial argument copy for thunk yet with virtual inheritance
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jun 16 11:04:18 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20053
Bug ID: 20053
Summary: clang-cl gives: cannot compile this non-trivial
argument copy for thunk yet with virtual inheritance
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: jmuizelaar at mozilla.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
The following code gives 'error: cannot compile this non-trivial argument copy
for thunk yet' when compiling with clang-cl. Interestingly enough, the
inheritance from F is required to trigger the problem. Just have a destructor
for F instead of JavaScriptChild does not trigger the problem
class A {
A(A &);
};
class B {
virtual int *m_fn1(int *, A);
};
class C : virtual B {};
class D : virtual B {
int *m_fn1(int *, A);
};
class F : D, C { };
class JavaScriptChild : F {
~JavaScriptChild();
};
JavaScriptChild::~JavaScriptChild() { ; }
--
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/20140616/5cb21d7a/attachment.html>
More information about the llvm-bugs
mailing list