Re: Value Initialization in GCC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux