OSDN Git Service

07-05-2011 Razya Ladelsky <razya@il.ibm.com>
authorrazya <razya@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jul 2011 13:08:01 +0000 (13:08 +0000)
committerrazya <razya@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jul 2011 13:08:01 +0000 (13:08 +0000)
commit2a556654cacdccf03b05488f557f3619951c82d2
tree67135b0c880f731ab81c64aa984089f4ac3e36f2
parent3014ed2c7915cdc95fff08916a1a05dc03b16f04
07-05-2011  Razya Ladelsky  <razya@il.ibm.com>

        * tree-cfg.c (gimple_duplicate_sese_tail): Remove handling of
        the loop's number of iterations.
        * tree-parloops.c (transform_to_exit_first_loop): Add the
        handling of the loop's number of iterations before the call
        to gimple_duplicate_sese_tail.
        Insert the stmt caclculating the new rhs of the loop's
        condition stmt to the preheader instead of iters_bb.
        * testsuite/gcc.dg/autopar/pr49580.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175851 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/autopar/pr49580.c [new file with mode: 0644]
gcc/tree-cfg.c
gcc/tree-parloops.c