re PR c++/63889 (Ice with redundant static in class scope constexpr variable template.)
authorJason Merrill <jason@redhat.com>
Tue, 27 Jan 2015 19:16:51 +0000 (14:16 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 27 Jan 2015 19:16:51 +0000 (14:16 -0500)
commit94e54b8d14ac5525d8a4004e0450f5c6fff50252
tree8c9c31a6cd77e41f2452037dd5869a4087efde2b
parent47da0bf6fbf3ca60bfd8a44a557dcf69bd4c053b
re PR c++/63889 (Ice with redundant static in class scope constexpr variable template.)

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.

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