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 <hubi...@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.