This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33916] [4.2/4.3 Regression] Default constructor fails to initialize array members
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2008 18:13:52 -0000
- Subject: [Bug c++/33916] [4.2/4.3 Regression] Default constructor fails to initialize array members
- References: <bug-33916-11211@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from mmitchel at gcc dot gnu dot org 2008-01-07 18:13 -------
I still agree that we should fix this -- but it is worth noting that
value-initialization did not exist in C++98. I believe that the current G++
behavior conforms to the original C++98 specification.
Does anyone know if this change was in C++98 TC1? Or not until C++0x?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33916