https://bugs.llvm.org/show_bug.cgi?id=41056
Bug ID: 41056
Summary: Crash on valid - templates, sfinae, and
is_constructible
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
template <bool>
struct c;
struct f {
template <typename d>
f(d);
};
struct i {
template <typename g, typename = typename c<__is_constructible(f, g)>::b>
i(g);
};
struct e {
i h = e();
};
Maybe infinite recursion in some template instantiation code - in the crash
stack I see 7 instances of clang::TreeTransform<(anonymous
namespace)::TemplateInstantiator>::TransformDependentNameType(TypeLocBuilder,
DependentNameTypeLoc, bool)
But maybe that's expected-ish for this code? I'm not sure.
(found tangentially while reducing that libstdc++ modules rejects-valid)
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs