[Bug c++/71630] [5/6/7 Regression] ICE on valid C++14 code with variable templates: in get, at cgraph.h:395

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 22 03:47:00 GMT 2016


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jul 22 03:46:49 2016
New Revision: 238626

URL: https://gcc.gnu.org/viewcvs?rev=238626&root=gcc&view=rev
Log:
        PR c++/71630 - extern variable template

        * pt.c (instantiate_decl): Fix pattern_defined for namespace scope
        variable templates.

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


More information about the Gcc-bugs mailing list