re PR c++/60241 (internal compiler error: in finish_member_declaration, at cp/semanti...
authorJason Merrill <jason@redhat.com>
Fri, 21 Feb 2014 21:41:16 +0000 (16:41 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 21 Feb 2014 21:41:16 +0000 (16:41 -0500)
commit2671a8ef23b605b623897d1f3e73a5493ed847e2
tree5ec7430392945a3b504f81d5e420aa3e22f231f4
parenta810ee82077cd312a1d9a9ddecaca0017db91c87
re PR c++/60241 (internal compiler error: in finish_member_declaration, at cp/semantics.c:2617)

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.

From-SVN: r208024
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/memclass5.C [new file with mode: 0644]