[Bug c++/60241] [4.7/4.8/4.9 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:2617
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 21 21:41:00 GMT 2014
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
More information about the Gcc-bugs
mailing list