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

Reply via email to