------- Comment #6 from hubicka at ucw dot cz 2008-01-28 20:51 ------- Subject: Re: [4.3 regression] ICE with -fipa-cp -ffast-math
> No, I mean providing something like cgraph_update_edges_for_call_stmt (tree > old, tree new); or alternatively cgraph_remove_edge_from_call_stmt () and > cgraph_add_edge_from_call_stmt () and call those two unconditionally. My stragegy so far was to rebuild cgraph edges from scratch when needed (that is something possibly changed). We can probably handle that via function local TODO flag here too. Updating the edges across multiple passes is kind of sliperly, since we would need to tie cgraph a lot more with gimple, pretty much as we do for CFG. This seems too much pie in the sky project with current organization of trees and folders, I hope that with tuples we will have a lot closer correspondence in between actual statements and calls here. Since we need to have edges up to date across inliner, I guess the patch is fine (as would be addint the TODO flag). Thanks for looking into it! Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34969