This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/69009] [5/6 Regression] ICE in instantiate_decl, at cp/pt.c:21511


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

--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue May 31 21:36:34 2016
New Revision: 236953

URL: https://gcc.gnu.org/viewcvs?rev=236953&root=gcc&view=rev
Log:
        PR c++/60095 - partial specialization of variable templates

        PR c++/69515
        PR c++/69009
        * pt.c (instantiate_template_1): Don't put the partial
        specialization in DECL_TI_TEMPLATE.
        (partial_specialization_p, impartial_args): Remove.
        (regenerate_decl_from_template): Add args parm.
        (instantiate_decl): Look up the partial specialization again.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/var-templ39a.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/var-templ51.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/var-templ52.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/pt.c
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/var-templ39.C

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]