Index: gcc/unroll.c =================================================================== RCS file: /cvs/gcc/egcs/gcc/unroll.c,v retrieving revision 1.125.4.2 diff -u -p -r1.125.4.2 unroll.c --- gcc/unroll.c 2001/10/08 21:33:16 1.125.4.2 +++ gcc/unroll.c 2001/10/10 12:08:05 @@ -3506,6 +3523,11 @@ loop_iterations (loop) do { + /* Previous unrolling may have generated new insns not covered + by the uid_luid array. */ + if (INSN_UID (temp) >= max_uid_for_loop) + continue; + if (GET_CODE (temp) == JUMP_INSN && INSN_LUID (JUMP_LABEL (temp)) > INSN_LUID (loop->top) && INSN_LUID (JUMP_LABEL (temp)) < INSN_LUID (loop->cont))