This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65719] Link error with constexpr variable template
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Jun 2015 18:16:53 +0000
- Subject: [Bug c++/65719] Link error with constexpr variable template
- Auto-submitted: auto-generated
- References: <bug-65719-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65719
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jun 12 18:16:22 2015
New Revision: 224442
URL: https://gcc.gnu.org/viewcvs?rev=224442&root=gcc&view=rev
Log:
PR c++/65719
* pt.c (tsubst_decl) [VAR_DECL]: Mark namespace-scope
variables as DECL_NOT_REALLY_EXTERN.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/var-templ29.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c