http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59543
Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #1 from Jan Hubicka <hubicka at gcc dot gnu.org> --- 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. Honza