egcs/gcc cp/ChangeLog cp/class.c cp/cp-tree.h ...

mmitchel@cygnus.com mmitchel@cygnus.com
Wed Dec 16 15:53:00 GMT 1998


CVSROOT:	/egcs/carton/cvsfiles
Module name:	egcs
Changes by:	mmitchel@egcs.cygnus.com	98/12/16 15:51:21

Modified files:
	gcc/cp         : ChangeLog class.c cp-tree.h decl.c lex.c 
Added files:
	gcc/testsuite/g++.old-deja/g++.pt: shadow1.C 

Log message:
	* class.c (resolve_address_of_overloaded_function): Do conversion
	to correct type here, rather than ...
	(instantiate_type): Here.
	
	* cp-tree.h (DECL_TEMPLATE_PARM_P): New macro.
	(DECL_TEMPLATE_TEMPLATE_PARM_P): Use it.
	(decl_template_parm_p): Remove.
	* decl.c (pushdecl): Don't set DECL_CONTEXT for a template
	paramter.
	* lex.c (do_identifier): Use DECL_TEMPLATE_PARM_P.
	(push_inline_template_parms_recursive): Set it.
	(decl_template_parm_p): Remove.
	(check_template_shadow): Use DECL_TEMPLATE_PARM_P.
	(process_template_parm): Set it.




More information about the Gcc-cvs mailing list