http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48042
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |lto --- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-09 16:56:31 UTC --- Thanks. Quoted: class A { virtual int x() = 0; }; class B:public A { int x(); }; int B::x() { } rguenther@murzim:/tmp/bug48042> /space/rguenther/install/gcc-4.6.0/bin/g++ -c test.cpp -flto rguenther@murzim:/tmp/bug48042> /space/rguenther/install/gcc-4.6.0/bin/g++ test.o -flto -g In file included from test.cpp:10:0, from :5: test.cpp: In member function 'x': test.cpp:10:1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.