https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95971
Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #48804|0 |1 is obsolete| | --- Comment #5 from Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b at gmail dot com> --- Created attachment 48808 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48808&action=edit a.cc Initialize A::a to a valid heap pointer, instead of initializing it to (char*)1.