[Bug lto/48259] Internal compiler errors in lto1

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 24 12:41:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48259

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011.03.24 12:24:22
     Ever Confirmed|0                           |1

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-24 12:24:22 UTC ---
At least LTOing libstdc++ should work, I'm not sure about libgcc, but if
no functions of libgcc end up being used it shouldn't break.

Hm, I can't reproduce it with 4.6.

rguenther@murzim:/tmp> g++-4.6 -flto -O2 1.C 2.C 3.s
rguenther@murzim:/tmp> g++-4.6 -flto -O2 1.C 2.C 3.s -fno-use-linker-plugin
rguenther@murzim:/tmp> g++-4.6 -flto -O2 1.C 2.C 3.s -fuse-linker-plugin
rguenther@murzim:/tmp> g++-4.6 -flto -O2 1.C 2.C 3.s -flto-partition=none
rguenther@murzim:/tmp> 

nor with trunk.  Can you be more specific about what linker you use?  Maybe
show -v output of a failing compile?



More information about the Gcc-bugs mailing list