http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60241
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Fri Feb 21 21:41:16 2014 New Revision: 208024 URL: http://gcc.gnu.org/viewcvs?rev=208024&root=gcc&view=rev Log: PR c++/60241 * pt.c (lookup_template_class_1): Update DECL_TEMPLATE_INSTANTIATIONS of the partial instantiation, not the most general template. (maybe_process_partial_specialization): Reassign everything on that list. Added: trunk/gcc/testsuite/g++.dg/template/memclass5.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c