https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84652
David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-03-01 CC| |dmalcolm at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Failed assertion here: 15844 /* If it's not a class-template or a template-template, it should be 15845 a function-template. */ 15846 gcc_assert ((DECL_FUNCTION_TEMPLATE_P (templ) 15847 || TREE_CODE (templ) == OVERLOAD 15848 || BASELINK_P (templ))); Started with r222837. Affects trunk (with checking on). With checking disabled, 7, 6 and 5 hit the "confused by earlier errors, bailing out" ICE handler.