[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug c++/12567] [Core/253] g++ fails to recognize ill-formed-ness of initializers



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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED
            Summary|g++ fails to recognize      |[Core/253] g++ fails to
                   |ill-formed-ness of          |recognize ill-formed-ness
                   |initializers                |of initializers

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
It seems to me that we are not rejecting these snippets because we are
implementing the tentative resolution of DR Core/253:

/* If default-initialization leaves part of TYPE uninitialized, returns
   a DECL for the field or TYPE itself (DR 253).  */

tree
default_init_uninitialized_part (tree type)

-- 
You are receiving this mail because:
You reported the bug.


Reply to: