[Bug c++/24173] [4.0/4.1/4.2 regression] ICE with garbage collection
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Dec 3 00:54:00 GMT 2005
------- Comment #9 from mmitchel at gcc dot gnu dot org 2005-12-03 00:54 -------
Subject: Bug 24173
Author: mmitchel
Date: Sat Dec 3 00:54:01 2005
New Revision: 107977
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107977
Log:
PR c++/24173
* decl.c (duplicate_decls): Don't rely on DECL_TEMPLATE_INFO after
clobbering newdecl.
PR c++/24173
* g++.dg/template/friend40.C: New test.
Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/template/friend40.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/decl.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24173
More information about the Gcc-bugs
mailing list