PR target/13877
* unroll.c (unroll_loop): If precondition loop, clear the
initial_value
field in loop_info.
From-SVN: r79424
+2004-03-10 James E Wilson <wilson@specifixinc.com>
+
+ PR target/13877
+ * unroll.c (unroll_loop): If precondition loop, clear the initial_value
+ field in loop_info.
+
2004-03-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
Backport:
unroll_type = UNROLL_MODULO;
loop_preconditioned = 1;
+ /* Preconditioning changes the loop's initial value. We set
+ it to an unknown value so that doloop_optimize won't get
+ confused. */
+ loop_info->initial_value = 0;
+
/* Clean up. */
free (labels);
}