[Bug c++/62255] [4.8/4.9 Regression] Introducing an unrelated template parameter causes compilation to fail
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 26 07:34:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62255
--- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Feb 26 02:43:58 2015
New Revision: 220997
URL: https://gcc.gnu.org/viewcvs?rev=220997&root=gcc&view=rev
Log:
PR c++/62255
* pt.c (instantiate_decl): Handle recursive instantiation of
static data member.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/template/recurse4.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list