This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50793] G++ doesn't value-initialize all members of non-trivial type in default argument
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Oct 2011 22:21:56 +0000
- Subject: [Bug c++/50793] G++ doesn't value-initialize all members of non-trivial type in default argument
- Auto-submitted: auto-generated
- References: <bug-50793-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50793
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-19 22:21:56 UTC ---
Author: jason
Date: Wed Oct 19 22:21:52 2011
New Revision: 180225
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180225
Log:
PR c++/50793
* tree.c (bot_manip): Propagate AGGR_INIT_ZERO_FIRST.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/init/value9.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/tree.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog