This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50618] [4.4/4.5/4.6/4.7 Regression] Virtual inheritance segfault
- 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: Thu, 13 Oct 2011 18:02:15 +0000
- Subject: [Bug c++/50618] [4.4/4.5/4.6/4.7 Regression] Virtual inheritance segfault
- Auto-submitted: auto-generated
- References: <bug-50618-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50618
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-13 18:02:15 UTC ---
Author: jason
Date: Thu Oct 13 18:02:10 2011
New Revision: 179935
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179935
Log:
PR c++/50618
* init.c (expand_aggr_init_1): Don't zero-initialize virtual
bases of a base subobject.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/init/vbase1.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/init.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog