[Bug lto/50338] ICE Linking with -flto

hubicka at ucw dot cz gcc-bugzilla@gcc.gnu.org
Sun Sep 11 09:42:00 GMT 2011


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

--- Comment #4 from Jan Hubicka <hubicka at ucw dot cz> 2011-09-11 09:36:55 UTC ---
> All the source in my project's library is built with -flto.
> 
> This same basic code worked with LTO before, shortly after LTO
> first came out. This is the first time I've tried it on a 64-bit OS.

as a workaround, you could probably use -flto-partition=none.  If whole project
is build with LTO, you need to figure out what files are needed to reproduce
the problem. Or if it is easy for you to build patched GCC, I can provide you
patch with some extra sanity checks, so we can work out what happens.



More information about the Gcc-bugs mailing list