https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107662
Bug ID: 107662 Summary: [10 concepts] ICE using concept with dependent template parameter to define variable Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: wjwray at gmail dot com Target Milestone: --- https://godbolt.org/z/rjMjeG7T1 template <typename T, typename = decltype(sizeof(T))> concept vt = true; vt auto v = 1; | ^~ internal compiler error: in dependent_type_p, at cp/pt.c:26561 There were several similar ICE bugs, mostly resolved fixed. This case is fixed in 10.4 (my non-reduced code fails on 10.4, then fixed in 11 up).