http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44499

--- Comment #20 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-09-25 
13:57:13 UTC ---
Probably this change:

2011-09-23  Jason Merrill  <ja...@redhat.com>

        Core 253 - allow const objects with no initializer or
        user-provided default constructor if the defaulted constructor
        initializes all the subobjects.
        PR c++/20039
        PR c++/42844
        * class.c (default_init_uninitialized_part): New.
        * cp-tree.h: Declare it.
        * decl.c (check_for_uninitialized_const_var): Use it.
        * init.c (perform_member_init): Likewise.
        (build_new_1): Likewise.
        * method.c (walk_field_subobs): Likewise.

Reply via email to