This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/48042] lto segfaults while building Qt 4.7.2 with -g -flto -fwhole-program
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 9 Mar 2011 16:56:43 +0000
- Subject: [Bug lto/48042] lto segfaults while building Qt 4.7.2 with -g -flto -fwhole-program
- Auto-submitted: auto-generated
- References: <bug-48042-4@http.gcc.gnu.org/bugzilla/>
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.