pt.c (tsubst_decl): SET_DECL_IMPLICIT_INSTANTIATION before register_specialization.
authorJason Merrill <jason@redhat.com>
Wed, 20 May 2015 21:32:52 +0000 (17:32 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 20 May 2015 21:32:52 +0000 (17:32 -0400)
commit226a93b7b7e464dd4c030b75e1d118f0e382cde1
tree20b38d06dc8739977b90e964eb4a43e109dfddf4
parent1210105350eff9956347a4c0a3ae09d0514b81d0
pt.c (tsubst_decl): SET_DECL_IMPLICIT_INSTANTIATION before register_specialization.

* pt.c (tsubst_decl) [VAR_DECL]: SET_DECL_IMPLICIT_INSTANTIATION
before register_specialization.

From-SVN: r223461
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1y/var-templ27.C [new file with mode: 0644]