OSDN Git Service

PR tree-optimization/43236
authoramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Mar 2010 12:53:51 +0000 (12:53 +0000)
committeramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Mar 2010 12:53:51 +0000 (12:53 +0000)
commitbfa5edbaf72956c705548eaf5b0f45afa41e0d71
treee704aea341ddf402a0ef3b846957f3e6e56479ad
parent778f5bdd1617b5cbb6cfc4cc22506ae86bd29065
    PR tree-optimization/43236
        * tree-loop-distribution.c (generate_memset_zero): Fix off-by-one
        error in calculation of base address in reverse iteration case.
        (generate_builtin): Take number of latch executions if the statement
        is in the latch.

        * gcc.c-torture/execute/pr43236.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157339 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr43236.c [new file with mode: 0644]
gcc/tree-loop-distribution.c