egcs/gcc/cp ChangeLog call.c decl.c decl2.c er ...

jason@cygnus.com jason@cygnus.com
Fri Dec 4 11:14:00 GMT 1998


CVSROOT:	/egcs/carton/cvsfiles
Module name:	egcs
Changes by:	jason@egcs.cygnus.com	98/12/04 11:14:23

Modified files:
	gcc/cp         : ChangeLog call.c decl.c decl2.c error.c 
	                 lang-options.h parse.c parse.y pt.c 

Log message:
	* pt.c (check_template_shadow): New fn.
	* decl2.c (grokfield): Use it.
	* decl.c (pushdecl): Likewise.
	(pushdecl_class_level): Likewise.
	(start_method): Likewise.
	(xref_tag): Don't try to use 't' if we're defining.
	Fixes Sec14/7/C14387.cm.
	
	* call.c (check_dtor_name): Just return an error_mark_node.
	* pt.c (lookup_template_class): Complain about using non-template here.
	* parse.y (apparent_template_type): Not here.
	Fixes Sec14/C14339.cm.
	
	* pt.c (check_explicit_specialization): Complain about specialization
	with C linkage.
	Fixes Sec14/C14340.cm.
	
	* lang-options.h: Add -f{no-,}implicit-inline-templates.
	
	* pt.c (convert_nontype_argument): Don't assume that any integer
	argument is intended to be a constant-expression.
	Fixes Sec14/7/P14245.C.




More information about the Gcc-cvs mailing list