[Bug c++/71569] [6/7/8 regression] Crash: External definition of template member from template struct

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 1 16:01:00 GMT 2018


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

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Mar  1 16:00:34 2018
New Revision: 258102

URL: https://gcc.gnu.org/viewcvs?rev=258102&root=gcc&view=rev
Log:
        PR c++/71569 - ICE with redundant args on member variable template.

        * decl.c (start_decl): Handle partial specialization of member
        variable template.
        * pt.c (determine_specialization): Allow partial specialization
        of member variable template without specializing enclosing class.
        (process_partial_specialization): Improve error message.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/var-templ58.C
    trunk/gcc/testsuite/g++.dg/cpp1y/var-templ58a.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/pt.c


More information about the Gcc-bugs mailing list