On Mon, Oct 22, 2012 at 11:09 PM, Jakub Jelinek <ja...@redhat.com> wrote: > Wouldn't it be way cheaper to just export dfs_find_deadend from cfganal.c > and call it in calc_dfs_tree on each unconnected bb? > I.e. (untested with the exception of the testcase):
Better yet, I have a patch in testing now to use cfganal's machinery to compute the DFS forest. Hold on a bit, I'll post it ASAP (probably Wednesday) if that's early enough for you. (Oh, and feel free to assign the PR to me ;-) Ciao! Steven