------- Comment #5 from spop at gcc dot gnu dot org  2010-03-02 10:23 -------
Subject: Bug 42640

Author: spop
Date: Tue Mar  2 10:22:30 2010
New Revision: 157161

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157161
Log:
Fix PR42640: Correctly initialize the value of the new induction variable.

2010-03-02  Reza Yazdani  <reza.yazd...@amd.com>

        PR middle-end/42640
        * tree-loop-distribution.c (update_phis_for_loop_copy): Replaced
        the assignment from the new induction variable to the assignment
        of the value from the original loop PHI function.

        * gcc.dg/tree-ssa/pr42640.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr42640.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-loop-distribution.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42640

Reply via email to