aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>2003-01-08 14:42:39 +0000
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>2003-01-08 14:42:39 +0000
commit2b59fc25c6e31acae34c6ab5c108941e5d31e5b4 (patch)
treeb20f75bc20fe6a1ea780fb19af201a2a9529519e /gcc/function.c
parentc5e7ce43a58f9ed299a496f3c3487a7ce7b32de3 (diff)
downloadgcc-2b59fc25c6e31acae34c6ab5c108941e5d31e5b4.zip
gcc-2b59fc25c6e31acae34c6ab5c108941e5d31e5b4.tar.gz
gcc-2b59fc25c6e31acae34c6ab5c108941e5d31e5b4.tar.bz2
re PR c++/9030 (Template friends and access to local classes)
PR c++/9030 * decl.c (make_typename_type): Check access only when tf_error. (make_unbound_class_template): Likewise. * pt.c (saved_access_scope): New variable. (push_access_scope_real): New function. (push_access_scope): Likewise. (pop_access_scope): Likewise. (tsubst_default_argument): Use them. (instantiate_template): Likewise. (regenerate_decl_from_template): Likewise. (instantiate_decl): Likewise. (get_mostly_instantiated_function_type): Likewise. * g++.dg/template/friend12.C: New test. * g++.dg/template/friend13.C: Likewise. * g++.old-deja/g++.eh/spec6.C: Add missing error message. From-SVN: r61046
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions