This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH]: Fix PR 32571
On 7/2/07, Richard Guenther <email@example.com> wrote:
On 7/2/07, Daniel Berlin <firstname.lastname@example.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?
> 2007-07-01 Daniel Berlin <email@example.com>
> Fix PR tree-optimization/32571
> * tree-ssa-sccvn.c (visit_use): Shortcut copies to avoid
> simplifying them.