* unroll.c (find_splittable_givs): Don't split givs with a dest_reg
that was created by loop.
Fixes bzip2 bug.
From-SVN: r16802
+Thu Nov 27 12:20:19 1997 Jeffrey A Law (law@cygnus.com)
+
+ * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
+ that was created by loop.
+
Thu Nov 27 09:34:58 1997 Jason Merrill <jason@yorick.cygnus.com>
* expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
{
rtx giv_inc, value;
+
+ /* If this is a new register, can't handle it since it does not have
+ an entry in reg_n_info. */
+ if (REGNO (v->dest_reg) >= max_reg_before_loop)
+ continue;
+
/* Only split the giv if it has already been reduced, or if the loop is
being completely unrolled. */
if (unroll_type != UNROLL_COMPLETELY && v->ignore)