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++/28025] [4.1/4.2 Regression] multiple template friend compile error



------- Comment #4 from mmitchel at gcc dot gnu dot org  2006-07-23 20:32 -------
Subject: Bug 28025

Author: mmitchel
Date: Sun Jul 23 20:32:28 2006
New Revision: 115688

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115688
Log:
        PR c++/28025
        * cp-tree.h (LOOKUP_HIDDEN): New macro.  Reformat comments.
        * name-lookup.c (unqualified_namespace_lookup): There is no way to
        have a hidden name in non-namespace scopes.
        * pt.c (tsubst_friend_class): Look for hidden names.
        * decl.c (lookup_and_check_tag): Fix typo in comment.
        * semantics.c (finish_compound_literal): Fix typo in comment.
        PR c++/28025
        * g++.dg/template/friend45.C: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/friend45.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/cp-tree.h
    branches/gcc-4_1-branch/gcc/cp/decl.c
    branches/gcc-4_1-branch/gcc/cp/name-lookup.c
    branches/gcc-4_1-branch/gcc/cp/pt.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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