This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc/gcc cp/ChangeLog cp/friend.c cp/pt.c tests ...


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	lerdsuwa@gcc.gnu.org	2003-01-31 12:26:13

Modified files:
	gcc/cp         : ChangeLog friend.c pt.c 
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/g++.old-deja/g++.other: defarg1.C 
Added files:
	gcc/testsuite/g++.dg/template: friend14.C friend15.C 

Log message:
	PR c++/9453
	* friend.c (is_friend): Always accept when SUPPLICANT is still
	a TEMPLATE_DECL.
	* pt.c (push_access_scope_real): Call push_to_top_level for
	function in namespace scope.
	(push_access_scope): Remove ARGS argument, all caller adjusted.
	(pop_access_scope): Call pop_from_top_level for function in
	namespace scope.
	(regenerate_decl_from_template): Use push_access_scope_real.
	
	* g++.dg/template/friend14.C: New test.
	* g++.dg/template/friend15.C: New test.
	* g++.old-deja/g++.other/defarg1.C: Adjust error message.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3076.2.26&r2=1.3076.2.27
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/friend.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.77.4.1&r2=1.77.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.635.2.5&r2=1.635.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.31&r2=1.2261.2.32
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/friend14.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.8.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/friend15.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.other/defarg1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3.20.1&r2=1.3.20.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]