pt.c (push_access_scope_real): Remove.
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Sun, 13 Jul 2003 15:20:58 +0000 (15:20 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Sun, 13 Jul 2003 15:20:58 +0000 (15:20 +0000)
commit2b907f5c4554c076038913e7c721ea8d6a8dcb31
treece13981dd99c4ce196867c3b0624174f3860282e
parent5245ad0cf75d72adfcc1f6796b3c7d33c2d42d56
pt.c (push_access_scope_real): Remove.

* pt.c (push_access_scope_real): Remove.
(push_access_scope): Move code from push_access_scope_real.
(pop_access_scope): Don't check for TEMPLATE_DECL.
(instantiate_template): Defer access checking during template
substitution.
(regenerate_decl_from_template): Tidy.

From-SVN: r69291
gcc/cp/ChangeLog
gcc/cp/pt.c