This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/58585] [4.9 Regression] ICE in ipa with virtual inheritance
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 07 Jan 2014 10:50:03 +0000
- Subject: [Bug middle-end/58585] [4.9 Regression] ICE in ipa with virtual inheritance
- Auto-submitted: auto-generated
- References: <bug-58585-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58585
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |trippels at gcc dot gnu.org
--- Comment #13 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #12)
> Created attachment 31763 [details]
> Proposed fix 2
>
> It turns out that in the case of multiple inheritance we may miss vtables on
> certain paths when it is duplicated binfo for shared base. This patch won't
> ICE in this case.
Doesn't (LTO/PGO) bootstrap:
lto1: internal compiler error: in hash_type_name, at ipa-devirt.c:225