https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59002 Bug 59002 depends on bug 58993, which changed state.
Bug 58993 Summary: incorrectly accept access of protected member method from derived class template https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58993 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED