This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/50338] ICE Linking with -flto
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 11 Sep 2011 09:36:55 +0000
- Subject: [Bug lto/50338] ICE Linking with -flto
- Auto-submitted: auto-generated
- References: <bug-50338-4@http.gcc.gnu.org/bugzilla/>
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.