[llvm-bugs] [Bug 28360] New: clang-cl crash on an overload resolution + template deduction
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jun 29 08:59:40 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28360
Bug ID: 28360
Summary: clang-cl crash on an overload resolution + template
deduction
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: mail+llvm at tzik.jp
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
clang-cl.exe crashes on a combination of overload resolution and template arg
deduction.
Here is a minimum repro:
> clang-cl.exe /c foo.cc
---- foo.cc
struct A {
void Foo();
void Foo(int);
};
template <typename F>
void Bar(const F&) {}
void Baz() {
Bar(static_cast<void(A::*)()>(&A::Foo));
}
The error is an assertion failure:
Assertion failed: IA && "Expected MSInheritanceAttr on the CXXRecordDecl!",
file
E:\b\build\slave\win_upload_clang\build\src\third_party\llvm\tools\clang\lib\AST\MicrosoftCXXABI.cpp,
line 182
The clang-cl.exe binary was chromium-bundled one, which was r273760.
--
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/20160629/5d93422b/attachment.html>
More information about the llvm-bugs
mailing list