This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24173] [4.0/4.1/4.2 regression] ICE with garbage collection
- From: "dpatel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Mar 2006 22:33:49 -0000
- Subject: [Bug c++/24173] [4.0/4.1/4.2 regression] ICE with garbage collection
- References: <bug-24173-11451@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from dpatel at gcc dot gnu dot org 2006-03-21 22:33 -------
Subject: Bug 24173
Author: dpatel
Date: Tue Mar 21 22:33:32 2006
New Revision: 112262
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112262
Log:
PR c++/24173
* decl.c (duplicate_decls): Don't rely on DECL_TEMPLATE_INFO after
clobbering newdecl.
* g++.dg/template/friend40.C: New test.
Added:
branches/apple-local-200502-branch/gcc/testsuite/g++.dg/template/friend40.C
- copied, changed from r107977,
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/template/friend40.C
Modified:
branches/apple-local-200502-branch/gcc/cp/ChangeLog
branches/apple-local-200502-branch/gcc/cp/decl.c
branches/apple-local-200502-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24173