r179937 - in /branches/gcc-4_4-branch/gcc: cp/C...

jason@gcc.gnu.org jason@gcc.gnu.org
Thu Oct 13 18:02:00 GMT 2011


Author: jason
Date: Thu Oct 13 18:02:53 2011
New Revision: 179937

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179937
Log:
	PR c++/48035
	* init.c (build_zero_init_1): Extracted from build_zero_init.
	Add FIELD_SIZE argument, if non-NULL and field bit_position
	as not smaller than that, don't add that field's initializer.
	Pass DECL_SIZE as last argument to build_zero_init_1
	for DECL_FIELD_IS_BASE fields.
	(build_zero_init): Use build_zero_init_1.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/inherit/virtual8.C
Modified:
    branches/gcc-4_4-branch/gcc/cp/ChangeLog
    branches/gcc-4_4-branch/gcc/cp/init.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list