egcs/gcc/cp ChangeLog cp-tree.h except.c init. ...

jason@cygnus.com jason@cygnus.com
Mon Nov 16 20:45:00 GMT 1998


CVSROOT:	/egcs/carton/cvsfiles
Module name:	egcs
Changes by:	jason@egcs.cygnus.com	98/11/16 20:45:18

Modified files:
	gcc/cp         : ChangeLog cp-tree.h except.c init.c parse.c 
	                 parse.y rtti.c typeck.c typeck2.c 

Log message:
	* typeck2.c (my_friendly_abort): Don't fatal twice in a row.
	
	* typeck.c (c_expand_start_case): Use build_expr_type_conversion.
	Simplify.
	Fixes Sec6/4_2/G06164.gr
	
	* parse.y (structsp): Fix cut-and-paste error.
	Fixes Sec6/4_2/C06166.cm
	
	* init.c (build_new): Complain about non-integral size.
	Fixes Sec5/3_4/E05276.C
	
	* parse.y (unary_expr): Complain about defining types in sizeof.
	Fixes Sec5/3_3/S05178.C
	
	* typeck.c (expr_sizeof): Complain about sizeof an overloaded fn.
	Fixes Sec5/3_3/S05161.C
	
	* rtti.c (build_x_typeid): Complain about typeid without
	including <typeinfo>.
	(get_typeid): Likewise.  Complain about typeid of incomplete type.
	(get_tinfo_fn_dynamic): Likewise.
	(get_typeid_1): Not static anymore.
	* except.c (build_eh_type_type): Use get_typeid_1.
	Fixes Sec5/2_8/C05517.cm
	
	* rtti.c (build_dynamic_cast_1): Give errors for dynamic_cast to
	ambiguous or private bases.  Fix warning for reference cast.
	Fixes Sec5/2_7/C05516.cm




More information about the Gcc-cvs mailing list