On Thu, Sep 5, 2013 at 4:05 PM, Richard Biener wrote: > > This C++-ifies and moves the control dependence code from tree-ssa-dce.c > to cfganal.c as I am about to re-use that code from loop distribution.
I'd recommend re-implementing the control dependence code, then. The current implementation is basically taken from old RTL-SSA dce.c and uses a now old-fashioned view of the CFG, e.g. using edge lists. You're probably better off starting from the dominance frontiers code (control dependence is the same as dominance frontiers on the reverse CFG). Ceterum censeo edge_listem esse delendam. Ciao! Steven