This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r112262 - in /branches/apple-local-200502-branc...
- From: dpatel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 21 Mar 2006 22:33:36 -0000
- Subject: r112262 - in /branches/apple-local-200502-branc...
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