[Bug lto/59543] [4.9 Regression] lto1: fatal error: Cgraph edge statement index out of range
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 18 10:15:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59543
--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #1)
> Thank you,
> can you, please, check that the problem appears still after
> 2013-12-17 Jan Hubicka <hubicka@ucw.cz>
>
> * ipa-utils.h (possible_polymorphic_call_targets): Determine context
> of
> the call.
> * gimple-fold.c (gimple_fold_call): Use ipa-devirt to devirtualize.
>
> this patch makes early passes to use same analysis for devirtualization as
> IPA passes and thus it should prevent from devirtualization to be discovered
> just after early passes but before IPA analysis. I suspect those can bring
> LTO streaming out of sync. If this is the case, we need to chase away the
> unreachable code removal that should not be placed in between renumbering
> stmts and streaming.
Yes, it still happens after r206042.
More information about the Gcc-bugs
mailing list