PR c++/60241
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Feb 2014 21:41:16 +0000 (21:41 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Feb 2014 21:41:16 +0000 (21:41 +0000)
commit6648782a965113f5fe9fe897649da38da15d3684
tree5ec7430392945a3b504f81d5e420aa3e22f231f4
parentef0231e99ead5a6d33a2192ccbe55ad6532e91dd
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208024 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/memclass5.C [new file with mode: 0644]