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 00:49:32 +0000 (09:49 +0900)
commit7c0fa18b3e625a922fac403ab066940f3c13706a
treefc47f5f3dfc5e1d968b011ec2e6fdeb0d48ca526
parentae5a7b56af97a7e049da6c4c6ceb3a90c4d5cfab
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