egcs/gcc/cp ChangeLog cp-tree.h decl.c pt.c

mmitchel@cygnus.com mmitchel@cygnus.com
Mon Nov 16 08:34:00 GMT 1998


CVSROOT:	/egcs/carton/cvsfiles
Module name:	egcs
Changes by:	mmitchel@egcs.cygnus.com	98/11/16 08:34:02

Modified files:
	gcc/cp         : ChangeLog cp-tree.h decl.c pt.c 

Log message:
	* cp-tree.h (DECL_TEMPLATE_INSTANTIATED): New macro.
	* decl.c (duplicate_decls): Remove special-case code to deal with
	template friends, and just do the obvious thing.
	* pt.c (register_specialization): Tweak for clarity, and also to
	clear DECL_INITIAL for an instantiation before it is merged with a
	specialization.
	(check_explicit_specialization): Fix indentation.
	(tsubst_friend_function): Handle both definitions in friend
	declaration and outside friend declarations.
	(tsubst_decl): Don't clear DECL_INITIAL for an instantiation.
	(regenerate_decl_from_template): Tweak accordingly.
	(instantiate_decl): Likewise.




More information about the Gcc-cvs mailing list