This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Apr 2018 18:38:10 +0000
- Subject: [Bug lto/85391] [8 Regression] ICE in add_type_duplicate, at ipa-devirt.c:1887
- Auto-submitted: auto-generated
- References: <bug-85391-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85391
--- Comment #15 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> We looked into this with Martin todday. There are two bugs: one is the fact
> that lto.c forgets to register the type in case it was within strongly
> connected component after its outer type. The order depends on hash values
> and is not well determined. We do not want to test TYPE_CANONICAL being
> non-NULL. Martin is testing it.
OK, thanks for sorting this out. It helps when specialists kick in. ;-)