OSDN Git Service

PR c++/26102
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Sep 2006 01:15:09 +0000 (01:15 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Sep 2006 01:15:09 +0000 (01:15 +0000)
commit4a132a961602863c630c26fe73df5f9d0f0bc06d
treefc0bf5d8a95f07ff8fe2c9161eeb3812c9ecbd7b
parent8da25df165759297ff710925b74ee48c1176bdc2
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116709 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/name-lookup.c
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/friend47.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/using14.C [new file with mode: 0644]