PR c++/67130
commit15af172f2a0ea281969e3105da9f9bb100097c7d
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Aug 2015 14:26:18 +0000 (6 14:26 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Aug 2015 14:26:18 +0000 (6 14:26 +0000)
treeacf5d40bd4846ad508391330ae43ab576f5f31b7
parent8f282ed29d1889359c4253da1a31cc339d3ffb17
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226676 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/mangle.c
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1y/var-templ42.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/var-templ43.C [new file with mode: 0644]