This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/24173] [4.0/4.1/4.2 regression] ICE with garbage collection



------- Comment #10 from mmitchel at gcc dot gnu dot org  2005-12-03 00:54 -------
Subject: Bug 24173

Author: mmitchel
Date: Sat Dec  3 00:54:17 2005
New Revision: 107978

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107978
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_1-branch/gcc/testsuite/g++.dg/template/friend40.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/decl.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24173


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]