[Bug c++/24173] [4.0/4.1/4.2 regression] ICE with garbage collection
dpatel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 21 22:33:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list