This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r115687 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...
- From: mmitchel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 23 Jul 2006 20:28:27 -0000
- Subject: r115687 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...
Author: mmitchel
Date: Sun Jul 23 20:28:26 2006
New Revision: 115687
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115687
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:
trunk/gcc/testsuite/g++.dg/template/friend45.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/decl.c
trunk/gcc/cp/name-lookup.c
trunk/gcc/cp/pt.c
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog