Re: fake edges for const and pure functions

2006-01-02 Thread Jan Hubicka
> I just found this in tree-cfg.c; the comment is probably wrong with > respect to const and pure. What do you think? Yes, it should be safe to remove the hack now when we do IPA profiling. Thanks for noticing it ;) Honza > > /* Return true if we need to add fake edge to exit at statement T. >

fake edges for const and pure functions

2006-01-02 Thread Paolo Bonzini
I just found this in tree-cfg.c; the comment is probably wrong with respect to const and pure. What do you think? /* Return true if we need to add fake edge to exit at statement T. Helper function for tree_flow_call_edges_add. */ static bool need_fake_edge_p (tree t) { tree call; /* NORE