egcs/gcc cp/ChangeLog cp/class.c cp/decl.c cp/ ...

Mark Mitchell mmitchel@cygnus.com
Fri Oct 16 12:08:00 GMT 1998


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

Modified files:
	gcc/cp         : ChangeLog class.c decl.c decl2.c method.c 
	gcc/testsuite/g++.old-deja/g++.benjamin: warn02.C 
Added files:
	gcc/testsuite/g++.old-deja/g++.pt: memtemp78.C 

Log message:
	* class.c (add_method): Fix documentation to reflect previous
	changes.  Check for duplicate method declarations here.
	* decl.c (decls_match): Handle FUNCTION_DECL vs TEMPLATE_DECL
	correctly; such things never match.
	(grokfndecl): Don't look for duplicate methods here.
	* decl2.c (check_classfn): Don't assume names are mangled.
	Don't add bogus member function declarations to a class before the
	class type is complete.
	(grokfield): Reformat error message.
	* method.c (set_mangled_name_for_decl): Don't mangle names while
	procesing_template_decl.




More information about the Gcc-cvs mailing list