On 7/2/07, Daniel Berlin <dberlin@dberlin.org> wrote:
> Before this patch, SCCVN would try to simplify copies, and sometimes
> come up with a more complex expression the copy represented. Because
> of how SCCVN works, this is pointless and detrimental, and on 32571,
> tripped an assert put there to make sure we didn't end up with chains
> of copies.
>
> Fixed by checking for obvious copies before simplifying.
>
> Bootstrapped and regtested on i686-darwin. Committed.
Can you add the testcase from the PR as well?
Thanks,
Richard.
> 2007-07-01 Daniel Berlin <dberlin@dberlin.org>
>
> Fix PR tree-optimization/32571
> * tree-ssa-sccvn.c (visit_use): Shortcut copies to avoid
> simplifying them.
>
>