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 05:36:30 +0000 (14:36 +0900)
commit9b4c8635741ce4c64bf9b849298d4ac9a7500a84
tree6d2f67d9a73bb7a290de49e89f1fe56b7333d668
parent1cae41ff9e3c423f9a0223fdc03aca3c50ab8ff0
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/decl.c
gcc/testsuite/ChangeLog
libstdc++-v3/ChangeLog