https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107168
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> --- The problem here is that tsubst_lambda_expr->pushtag->maybe_process_template_type_declaration->push_template_decl fails because processing_template_decl is set but current_template_parms is not.