https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59002 Bug 59002 depends on bug 79163, which changed state.
Bug 79163 Summary: Access-checking not done in template argument list of partial specialization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79163 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED