This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Fix PR 32571


Done

On 7/2/07, Richard Guenther <richard.guenther@gmail.com> wrote:
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.
>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]