This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


CVSROOT:	/cvs/gcc
Module name:	egcs
Branch: 	gcc-3_1-branch
Changes by:	aoliva@gcc.gnu.org	2002-05-15 19:09:16

Modified files:
	gcc/cp         : ChangeLog class.c cp-tree.h cvt.c decl.c init.c 
	                 tree.c typeck2.c 

Log message:
	* cp-tree.h (struct lang_type): Added non_zero_init.
	(CLASS_NON_ZERO_INIT_P): New macro.
	(zero_init_p, force_store_init_value, build_forced_zero_init): Declare.
	* class.c (check_field_decls): Test non_zero_init.
	* cvt.c (convert_to_pointer_force): Use cp_convert_to_pointer for
	zero-to-NULL conversions.
	* decl.c (obscure_complex_init): Don't reset DECL_INITIAL of a
	type that needs zero-initialization without zeros.
	(check_initializer_decl): Compute zero-initializer for types
	that require a non-trivial one.
	* init.c (build_forced_zero_init): New function.
	(build_default_init): Use it.
	* tree.c (zero_init_p): New function.
	* typeck2.c (force_store_init_value): New function.
	(process_init_constructor): Create non-trivial zero-initializers
	for array members and class fields.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.2685.2.88&r2=1.2685.2.89
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cp/class.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.436.2.7&r2=1.436.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.681.2.10&r2=1.681.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cp/cvt.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.112.2.2&r2=1.112.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.866.2.32&r2=1.866.2.33
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cp/init.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.264.2.10&r2=1.264.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cp/tree.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.268.2.3&r2=1.268.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cp/typeck2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.117&r2=1.117.2.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]