http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59831
Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org --- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Here inliner turns virtual call to direct call while versioning. This devirtualization is missed by ipa-cp, but anticipated by ipa-devirt's speculative code. The ICE happens since inliner is done with copying edges but not with references while it attempts to resolve the indirect call. I am looking into fix.