[Bug c++/60241] [4.8 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 Aug 1 18:34:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60241

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Aug  1 18:33:41 2014
New Revision: 213500

URL: https://gcc.gnu.org/viewcvs?rev=213500&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:
    branches/gcc-4_8-branch/gcc/testsuite/g++.dg/template/memclass5.C
Modified:
    branches/gcc-4_8-branch/gcc/cp/ChangeLog
    branches/gcc-4_8-branch/gcc/cp/pt.c



More information about the Gcc-bugs mailing list