http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58294
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 #5 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Thanks, I saw this problem too while compiling chromium but then it went away and we didn't really managed to simplify it to a testcase. The problem here is that there is PHI sitting on a EH receiver (from setjmp) and we are inlining speculatively inlined call that may throw while original call didn't. It seems to be bug that is there for years. I am not quite sure what to do in this scenario sort of going out of SSA for this particular symbol and back to SSA again (that probably would go with markin it for update) Curiously enough your patch does not contain any calls that ipa-devirt would change. I am looking into it