This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/53492] [4.7/4.8/4.9 Regression] ICE in retrieve_specialization, at cp/pt.c:985


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53492

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Mar 10 15:44:50 2014
New Revision: 208455

URL: http://gcc.gnu.org/viewcvs?rev=208455&root=gcc&view=rev
Log:
    PR c++/53492
    * parser.c (cp_parser_class_head): Also check PRIMARY_TEMPLATE_P
    when deciding whether to call push_template_decl for a member class.
    * pt.c (push_template_decl_real): Return after wrong levels error.

Added:
    trunk/gcc/testsuite/g++.dg/template/memtmpl4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]