https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83583
Bug ID: 83583 Summary: ICE in synthesize_implicit_template_parm, at cp/parser.c:38794 Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: wouter at voti dot nl Target Milestone: --- The compiler ICE's on this construct. There are some simular bug reports which might be the same problem or a related one, but they report a different parser.c line. using arm-eabi-gcc (GCC) 7.2.0 -fconcepts code: template< typename T > concept bool has_main = requires { { T::main() } -> void; }; template< typename T > concept bool is_duration_with_polling = requires ( has_main m ){ { template callback< m >::init() } -> void };