07-05-2011 Razya Ladelsky <razya@il.ibm.com>
authorRazya Ladelsky <razya@il.ibm.com>
Tue, 5 Jul 2011 13:08:01 +0000 (13:08 +0000)
committerRazya Ladelsky <razya@gcc.gnu.org>
Tue, 5 Jul 2011 13:08:01 +0000 (13:08 +0000)
commit12037899ea37255a21d90902bb00c1183fc17fb6
tree67135b0c880f731ab81c64aa984089f4ac3e36f2
parent509a31f8e558782f0cdc3c337dc957bb443a4d23
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.

From-SVN: r175851
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