------- Comment #5 from hubicka at ucw dot cz  2010-02-08 14:59 -------
Subject: Re:  [4.4 Regression] Crash in
        type_like_member_ptr_p in ipa-prop.c:382

> The trunk has delete_unreachable_blocks_update_callgraph, perhaps we want
> something like that for the branch as well.  As delete_unreachable_blocks is
> called here just when !updates_clones, i.e. id.transform_call_graph_edges ==
> CB_CGE_MOVE, we can leave handling of that in the function for the branch.

I will have to look into this tomorrow.  But strategy before we introduced all
this delete_unreachable_blocks_update_callgraph code was to simply not cleanup
or to force rebuild of edges (earlier had problems that we was not able to
build dominance tree anymore, the later become impossible with virtual clones
since edges hold important infomration and can not be just thrown away.
So perhaps we can simply rebuild edges here?

Honza


-- 


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

Reply via email to