r158066 - in /trunk/gcc: cp/ChangeLog cp/typeck...

dodji@gcc.gnu.org dodji@gcc.gnu.org
Wed Apr 7 15:11:00 GMT 2010


Author: dodji
Date: Wed Apr  7 15:11:42 2010
New Revision: 158066

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158066
Log:
Fix PR c++/40239

gcc/cp/ChangeLog:
	PR c++/40239
	* typeck2.c (process_init_constructor_record):
	value-initialize members that are are not explicitely
	initialized.

gcc/testsuite/ChangeLog:
	PR c++/40239
	* g++.dg/init/aggr5.C: New test.
	* g++.dg/init/aggr5.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/init/aggr5.C
    trunk/gcc/testsuite/g++.dg/init/aggr6.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list