OSDN Git Service

PR c++/42844
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Apr 2010 18:56:13 +0000 (18:56 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 04:52:01 +0000 (13:52 +0900)
commit7136f4196cd01cd146332e1caab4deecb2fec5ed
tree06accfe3a7e98f209482251a81d2b4ebf4e8ed88
parent924259e26cf12fc48e8ae4cc2f27bc67e53174bd
PR c++/42844
* decl.c (check_for_uninitialized_const_var): Handle classes that need
constructing, too.
(check_initializer): Call it for classes that need constructing, too.
* class.c (in_class_defaulted_default_constructor): New.
* cp-tree.h: Declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158797 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/testsuite/ChangeLog
libstdc++-v3/ChangeLog