aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2012-07-12 18:57:16 -0400
committerJason Merrill <jason@gcc.gnu.org>2012-07-12 18:57:16 -0400
commitb52259e162427d7ebb8205bd72b94bd093216f62 (patch)
tree562e195bb722152e8c22963f37e60d88db9436cb /gcc/cp/ChangeLog
parent77a24503cb343fb2fd59cdb7b360893e133bae44 (diff)
downloadgcc-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/ChangeLog3
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.