pt.c (tsubst_decl): Call coerce_innermost_template_parms.
authorJason Merrill <jason@redhat.com>
Mon, 18 May 2015 18:08:48 +0000 (14:08 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 18 May 2015 18:08:48 +0000 (14:08 -0400)
commitb237c4cbd3da7a266863ed049cbb2ef60b0aaa81
treef8cc39069865bbd56cc5a7ab86315512180da9fb
parentc4d6d7bc4630cabd415388ddc37fe1cd94522463
pt.c (tsubst_decl): Call coerce_innermost_template_parms.

* pt.c (tsubst_decl) [VAR_DECL]: Call coerce_innermost_template_parms.
(determine_specialization): Call coerce_template_parms.

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