[Bug c++/63889] [5 Regression] Ice with redundant static in class scope constexpr variable template.
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 27 19:17:00 GMT 2015
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
More information about the Gcc-bugs
mailing list