This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/86344] GCC 8.1 ICEd at LTO stage
- From: "oddin at mimecast dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 04 Jul 2018 15:50:02 +0000
- Subject: [Bug lto/86344] GCC 8.1 ICEd at LTO stage
- Auto-submitted: auto-generated
- References: <bug-86344-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86344
--- Comment #4 from Oliver Ddin <oddin at mimecast dot com> ---
So, I grabbed GCC8.1.1 from trunk and built it. Crash reoccured.
However, I noticed that GCC wasn't doing LTO through the linker plugin, so
after rebuilding with the correct configuration to enable -fuse-linker-plugin
to work, I then rebuilt the project and this time, LTO succeeded without error.
So, I suspect this is specifically a bug that manifests when doing LTO without
using the linker plugin. I unfortunately don't have anything better for you at
this point and since I now have a working build, I'll probably not get the time
to find a minimal case that reproduces this in the non-linker-plugin scenario.