[Bug tree-optimization/31081] [4.3 Regression] Inliner messes up SSA for abnormals

hubicka at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Dec 18 11:42:00 GMT 2007



------- Comment #12 from hubicka at gcc dot gnu dot org  2007-12-18 11:41 -------

> But I wonder what would be the best way to add the PHI nodes.  We really
> shouldn't do mark_sym_for_renaming on underlying decl, perhaps create a dummy
> decl, let intossa create PHIs etc. for it, then change the SSA_NAME_VARs for
> it? Or anything easier?  Any ideas?

What I hope for is to simply add all possible EH edges (ie edges to all
possible receivers not just first one) before inlining, so we never get into
busyness of constructing new PHIs because we redirected some EH.
Then we always can use the easy route of copying existing PHI argument from the
call site.  I was travelling last weeks, but I will do look into it before
Christmas now.

Honza


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31081



More information about the Gcc-bugs mailing list