https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92674

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot 
gnu.org

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
__trans_tmp_2$ptr_16 = PHI <>

when inlining fold_marked_stmts prunes dead EH edges immediately but that
causes things like the above where IPA devirt now walking the SSA use-def
chain.  fold_marked_stmts needs to first fold and _then_ purge edges
like so many other passes do.  The alternative would be to use
a bottom-up walk of the CFG but I guess that's too intricated there.

Reply via email to