OSDN Git Service

PR c++/42844
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
index e3bc3f6..d136b8a 100644 (file)
@@ -1,3 +1,13 @@
+2010-04-27  Fabien ChĂȘne  <fabien.chene@gmail.com>
+           Jason Merrill  <jason@redhat.com>
+
+       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.
+
 2010-04-20  Jason Merrill  <jason@redhat.com>
 
        PR c++/9335