public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/9252
@ 2003-05-10 11:36 lerdsuwa
  0 siblings, 0 replies; only message in thread
From: lerdsuwa @ 2003-05-10 11:36 UTC (permalink / raw)
  To: lerdsuwa; +Cc: gcc-prs

The following reply was made to PR c++/9252; it has been noted by GNATS.

From: lerdsuwa@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: c++/9252
Date: 10 May 2003 11:29:53 -0000

 CVSROOT:	/cvs/gcc
 Module name:	gcc
 Changes by:	lerdsuwa@gcc.gnu.org	2003-05-10 11:29:53
 
 Modified files:
 	gcc/cp         : ChangeLog call.c class.c cp-tree.h decl.c 
 	                 init.c lex.c method.c parser.c pt.c search.c 
 	                 semantics.c 
 	gcc/testsuite  : ChangeLog 
 Added files:
 	gcc/testsuite/g++.dg/template: access8.C access9.C 
 
 Log message:
 	PR c++/9252
 	* cp-tree.h (saved_scope): Remove check_access field.
 	(tsubst_flags_t): Remove tf_parsing.
 	* decl.c (maybe_push_to_top_level): Don't initialize
 	scope_chain->check_access.
 	(make_typename_type, make_unbound_class_template): Don't use
 	tf_parsing.
 	(register_dtor_fn): Use push/pop_deferring_access_checks
 	instead of scope_chain->check_access.
 	* method.c (use_thunk): Likewise.
 	* parser.c (cp_parser_explicit_instantiation
 	(cp_parser_constructor_declarator_p): Don't call
 	push/pop_deferring_access_checks here.
 	(cp_parser_template_argument, cp_parser_class_name): Don't use
 	tf_parsing.
 	(yyparse): Check flag_access_control.
 	* pt.c (instantiate_class_template): Call
 	push/pop_deferring_access_checks.
 	* semantics.c (push_deferring_access_checks): Propagate
 	dk_no_check.
 	(perform_or_defer_access_check): Make sure basetype_path is
 	a type before comparison.
 	* call.c (build_op_delete_call, build_over_call): Use
 	perform_or_defer_access_check.
 	* class.c (alter_access): Likewise.
 	* init.c (build_offset_ref): Likewise.
 	* lex.c (do_identifier): Likewise.
 	* method.c (hack_identifier): Likewise.
 	* search.c (lookup_member): Likewise.
 	* semantics.c (finish_non_static_data_member): Likewise.
 	(simplify_aggr_init_exprs_r): Use push/pop_deferring_access_checks
 	instead of flag_access_control.
 	
 	* g++.dg/parse/access8.C: New test.
 	* g++.dg/parse/access9.C: New test.
 
 Patches:
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3372&r2=1.3373
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&r1=1.383&r2=1.384
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/class.c.diff?cvsroot=gcc&r1=1.537&r2=1.538
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.843&r2=1.844
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1053&r2=1.1054
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/init.c.diff?cvsroot=gcc&r1=1.320&r2=1.321
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/lex.c.diff?cvsroot=gcc&r1=1.303&r2=1.304
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/method.c.diff?cvsroot=gcc&r1=1.249&r2=1.250
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.60&r2=1.61
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.689&r2=1.690
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/search.c.diff?cvsroot=gcc&r1=1.261&r2=1.262
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.304&r2=1.305
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2670&r2=1.2671
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/access8.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/access9.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-10 11:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-10 11:36 c++/9252 lerdsuwa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).