https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84610
David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-02-28 CC| |dmalcolm at gcc dot gnu.org Summary|internal compiler error: in |[5/6/7/8 Regression] ICE in |synthesize_implicit_templat |synthesize_implicit_templat |e_parm, at |e_parm, at |cp/parser.c:38843 |cp/parser.c:38843 Ever confirmed|0 |1 --- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Confirmed on trunk, 5, 6 and 7 (with an explicit -std=c++14 needed for gcc 5). Failing in synthesize_implicit_template_parm (parser=0x7ffff7ffbbd0, constr=<tree 0x0>) at ../../src/gcc/cp/parser.c:38888 38888 gcc_assert (current_binding_level->kind == sk_function_parms); (gdb) p cfun $2 = (function *) 0x0 (gdb) p scope_chain->bindings->kind $5 = sk_template_parms Started with r208426 (with -std=c++14).