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++/8355] befriending a template specialization in another namespace



------- Comment #7 from mmitchel at gcc dot gnu dot org  2005-11-19 02:26 -------
Subject: Bug 8355

Author: mmitchel
Date: Sat Nov 19 02:25:55 2005
New Revision: 107207

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107207
Log:
        PR c++/8355
        * decl.c (grokfndecl): Set up DECL_TEMPLATE_INFO before calling
        set_decl_namespace.
        * name-lookup.c (set_decl_namespace): 
        PR c++/8355
        * g++.dg/template/friend39.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/template/friend39.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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