re PR c++/26102 ("using Base::member" nonsense)

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.

From-SVN: r116710
This commit is contained in:
Jason Merrill 2006-09-05 21:15:39 -04:00
parent b01e6d2b91
commit 99818a52f0

View File

@ -1,3 +1,13 @@
2006-09-05 Jason Merrill <jason@redhat.com>
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.
2006-09-04 Nathan Sidwell <nathan@codesourcery.com>
PR 23287 Revert my 2006-09-01 patch.