https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64632
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> --- Smaller test case: #include <fstream> int main() { std::ofstream m_outFile; m_outFile.open("test"); return m_outFile.good(); } Gives: foo.cc:6:24: runtime error: member call on address 0x7fff6ba3da28 which does not point to an object of type 'basic_ios' 0x7fff6ba3d930: note: object is base class subobject at offset 248 within object of type 'std::basic_ofstream<char, std::char_traits<char> >'