OSDN Git Service

Fix PR c++/40239
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Apr 2010 15:11:42 +0000 (15:11 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:17:27 +0000 (14:17 +0900)
commit511be19ec571c806f22b13c8d33ae021d44d3a7d
treeb790362ad8a014d948691329509e7e572a965d7e
parent0cfa28c58f1a37951ae47fb8426e3a1311ba6441
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158066 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog