PR c++/78906 - ICE with member variable template
commitecd071e3358bc8e7ebc8f62f53a7162385c0507b
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Dec 2016 20:29:07 +0000 (22 20:29 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Dec 2016 20:29:07 +0000 (22 20:29 +0000)
treeef1ff916620ef8c03a175a76f9356d155d517efc
parent23ea3d015dbd98d9bf6b85fdceb65389f4909d89
PR c++/78906 - ICE with member variable template

* pt.c (finish_template_variable): Use most_general_template.

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