This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/60567] [4.9 Regression] lto1 ICE in add_symbol_to_partition, at lto/lto-partition.c:233 with -fno-use-linker-plugin
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 Apr 2014 17:20:09 +0000
- Subject: [Bug lto/60567] [4.9 Regression] lto1 ICE in add_symbol_to_partition, at lto/lto-partition.c:233 with -fno-use-linker-plugin
- Auto-submitted: auto-generated
- References: <bug-60567-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60567
--- Comment #16 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #14)
> It doesn't seem to make sense to keep function
> but optimize out the thunk as we would do now (even w/o LTO)
Right. When we emit a function, we need to also emit any associated thunks.