[Bug c++/12567] [Core/253] g++ fails to recognize ill-formed-ness of initializers
- To: debian-gcc@lists.debian.org
- Subject: [Bug c++/12567] [Core/253] g++ fails to recognize ill-formed-ness of initializers
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
- Date: Wed, 03 Jul 2013 19:55:08 +0000
- Message-id: <bug-12567-5724-UIvfa97nbk@http.gcc.gnu.org/bugzilla/>
- In-reply-to: <bug-12567-5724@http.gcc.gnu.org/bugzilla/>
- References: <bug-12567-5724@http.gcc.gnu.org/bugzilla/>
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: