https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67130
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Thu Aug 6 14:26:18 2015 New Revision: 226676 URL: https://gcc.gnu.org/viewcvs?rev=226676&root=gcc&view=rev Log: PR c++/67130 PR c++/67131 PR c++/66260 * mangle.c (write_expression) [TEMPLATE_ID_EXPR]: Handle variable templates. * pt.c (tsubst_copy_and_build): Check for argument substitution failure. Added: trunk/gcc/testsuite/g++.dg/cpp1y/var-templ42.C trunk/gcc/testsuite/g++.dg/cpp1y/var-templ43.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/mangle.c trunk/gcc/cp/pt.c