This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/31081] [4.3 Regression] Inliner messes up SSA for abnormals
- From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Dec 2007 11:41:51 -0000
- Subject: [Bug tree-optimization/31081] [4.3 Regression] Inliner messes up SSA for abnormals
- References: <bug-31081-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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