http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60041
--- Comment #3 from qRoC <qroc.work at gmail dot com> --- cout<<f3->i_<<endl; Print "segmentation fault", is normal. But this code in function: void test1() { Foo *f2; cout<<f2->i_<<endl; } print "123".