> Hi,
> 
> for an IPA-CP rewrite that I now work on, it is often useful to look
> at a call graph edge and see whether both ends are in the same
> strongly connected component.  At the moment ipa_reduced_postorder
> does not offer such capabilities but it is easy to add.  It is enough
> to save the lowest DFS number of the component when constructing the
> linked list of nodes in it.  And this is exactly what the patch below
> does.
> 
> Bootstrapped and tested on x86_64-linux.  OK for trunk?
> 
> Thanks,
> 
> Martin
> 
> 
> 2011-05-19  Martin Jambor  <mjam...@suse.cz>
> 
>       * ipa-utils.c (ipa_dfs_info): New field scc_no;
>       * ipa-utils.c (searchc): Set scc_no;
OK.
thanks,
Honza

Reply via email to