r112262 - in /branches/apple-local-200502-branc...

dpatel@gcc.gnu.org dpatel@gcc.gnu.org
Tue Mar 21 22:33:00 GMT 2006


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



More information about the Gcc-cvs mailing list