This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34573] [4.3 Regression] ICE with nested class in template
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2008 14:48:56 -0000
- Subject: [Bug c++/34573] [4.3 Regression] ICE with nested class in template
- References: <bug-34573-1902@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jason at gcc dot gnu dot org 2008-01-22 14:48 -------
Subject: Bug 34573
Author: jason
Date: Tue Jan 22 14:48:05 2008
New Revision: 131724
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131724
Log:
PR c++/33959
* pt.c (tsubst_aggr_type): Make sure our context is complete.
PR c++/34573
* pt.c (retrieve_local_specialization): Robustify.
(tsubst_pack_expansion, tsubst_decl): Remove redundant checks.
PR c++/34846
* pt.c (tsubst): Only call retrieve_local_specialization if the
original typedef was in a function template.
Added:
trunk/gcc/testsuite/g++.dg/template/nested5.C
trunk/gcc/testsuite/g++.dg/template/typedef10.C
trunk/gcc/testsuite/g++.dg/template/typedef9.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34573