This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/63889] [5 Regression] Ice with redundant static in class scope constexpr variable template.
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 27 Jan 2015 19:17:25 +0000
- Subject: [Bug c++/63889] [5 Regression] Ice with redundant static in class scope constexpr variable template.
- Auto-submitted: auto-generated
- References: <bug-63889-4 at http dot gcc dot gnu dot org/bugzilla/>
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