Since we do not update successor edges when merging nodes we have
to deal with this in the users. The following avoids putting those
on the topo order vector.
* tree-ssa-structalias.cc (topo_visit): Look at the real
destination of edges.
if (graph->succs[n])
EXECUTE_IF_SET_IN_BITMAP (graph->succs[n], 0, j, bi)
{
- if (!bitmap_bit_p (ti->visited, j))
- topo_visit (graph, ti, j);
+ unsigned k = find (j);
+ if (!bitmap_bit_p (ti->visited, k))
+ topo_visit (graph, ti, k);
}
ti->topo_order.safe_push (n);