[Bug c++/50618] [4.4/4.5/4.6/4.7 Regression] Virtual inheritance segfault
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 13 18:02:00 GMT 2011
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
More information about the Gcc-bugs
mailing list