http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50184
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-08-25 10:48:59 UTC --- -fno-elide-constructors prevents the segfault something goes wrong copying the return value of func() into the CData base class of B