Hi, On Fri, Sep 26, 2014 at 10:34:16AM +0200, Richard Biener wrote: >
... > > Btw, isn't cgraph edge redirection a "transform" step? Thus why is > it performed at WPA time at all? Shouldn't it be performed at LTRANS > time the same time we materialize clones and inline? > No, not really, changing the callee of an edge is how at WPA stage we record the decision to redirect the given call to a different target (an ipa-cp clone or now a semantic equivalent). The gimple statement change (which is the real "transform" here I suppose) is done at LTRANS but is verified like it was an ipa-cp redirection and fails. Martin