This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/48042] lto segfaults while building Qt 4.7.2 with -g -flto -fwhole-program


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]