diff options
author | Jason Merrill <jason@redhat.com> | 2012-07-12 18:57:16 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2012-07-12 18:57:16 -0400 |
commit | b52259e162427d7ebb8205bd72b94bd093216f62 (patch) | |
tree | 562e195bb722152e8c22963f37e60d88db9436cb /gcc/cp/ChangeLog | |
parent | 77a24503cb343fb2fd59cdb7b360893e133bae44 (diff) | |
download | gcc-b52259e162427d7ebb8205bd72b94bd093216f62.zip gcc-b52259e162427d7ebb8205bd72b94bd093216f62.tar.gz gcc-b52259e162427d7ebb8205bd72b94bd093216f62.tar.bz2 |
pt.c (instantiate_decl): Check typedefs access here.
* pt.c (instantiate_decl): Check typedefs access here.
(instantiate_template_1): Not here.
From-SVN: r189444
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 299116b..c5f2312 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,8 @@ 2012-07-12 Jason Merrill <jason@redhat.com> + * pt.c (instantiate_decl): Check typedefs access here. + (instantiate_template_1): Not here. + * pt.c (deduction_tsubst_fntype): Just suppress access checking. (instantiate_template_1): Set DECL_TI_TEMPLATE before access checking. (push_deduction_access_scope, pop_deduction_access_scope): Remove. |