This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r157161 - in /trunk/gcc: ChangeLog testsuite/Ch...
- From: spop at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 02 Mar 2010 10:22:33 -0000
- Subject: r157161 - in /trunk/gcc: ChangeLog testsuite/Ch...
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.yazdani@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