This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r116709 - in /trunk/gcc: cp/name-lookup.c cp/pt...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 06 Sep 2006 01:15:09 -0000
- Subject: r116709 - in /trunk/gcc: cp/name-lookup.c cp/pt...
Author: jason
Date: Wed Sep 6 01:15:09 2006
New Revision: 116709
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116709
Log:
PR c++/26102
* name-lookup.c (do_class_using_decl): Try to find the base even
if bases_dependent_p.
* pt.c (type_dependent_expression_p): A USING_DECL is dependent.
PR c++/19809
* pt.c (tsubst_friend_function): Set DECL_INITIAL before pushdecl.
Added:
trunk/gcc/testsuite/g++.dg/template/friend47.C
trunk/gcc/testsuite/g++.dg/template/using14.C
Modified:
trunk/gcc/cp/name-lookup.c
trunk/gcc/cp/pt.c