On 22 June 2017 at 17:48, Sam Lunt wrote: > It seems that when new B(); is called, the object should be > value-initialized. Since B provides a defaulted (i.e. > non-user-provided default constructor, it should be zero-initialized > as in 8.5.8.2, but GCC 7.1 does not do this (see > https://godbolt.org/g/xf1kxk for reference). See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65816