[Bug c++/105652] New: ICE: in is_base_type, at dwarf2out.cc:13400
hewillk at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu May 19 05:35:41 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105652
Bug ID: 105652
Summary: ICE: in is_base_type, at dwarf2out.cc:13400
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: hewillk at gmail dot com
Target Milestone: ---
template<int>
struct I {};
template<class T>
concept C = []<int N>(I<N>) { return true; } (I<0>{});
template<class T>
struct S { };
template<C T>
struct S<T> { constexpr static bool value = true; };
static_assert(S<int>::value);
https://godbolt.org/z/T79svEnxj
More information about the Gcc-bugs
mailing list