https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71569
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
We crash on the assert here:
2072 /* We shouldn't be specializing a member template of an
2073 unspecialized class template; we already gave an error in
2074 check_specialization_scope, now avoid crashing. */
2075 if (template_count && DECL_CLASS_SCOPE_P (decl)
2076 && template_class_depth (DECL_CONTEXT (decl)) > 0)
2077 {
2078 gcc_assert (errorcount);
2079 return error_mark_node;
2080 }
but seems check_specialization_scope was never called.