Re: [PATCH] Make ipa_reduced_postorder number SCCs

2011-05-31 Thread Jan Hubicka
> 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

[PATCH] Make ipa_reduced_postorder number SCCs

2011-05-30 Thread Martin Jambor
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 nu