https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63889
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Tue Jan 27 19:16:51 2015 New Revision: 220183 URL: https://gcc.gnu.org/viewcvs?rev=220183&root=gcc&view=rev Log: PR c++/63889 * pt.c (finish_template_variable): Move from semantics.c. Handle multiple template arg levels. Handle coercion here. (lookup_template_variable): Not here. Added: trunk/gcc/testsuite/g++.dg/cpp1y/var-templ22.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/cp/semantics.c