loop.c (check_insn_for_givs): Restore check for code labels that was accidentally deleted by a recent checkin.

* loop.c (check_insn_for_givs): Restore check for code labels that was
        accidentally deleted by a recent checkin.

From-SVN: r84753
This commit is contained in:
Jeff Law 2004-07-15 08:55:15 -06:00 committed by Jeff Law
parent 20c9dc8aac
commit 9270f90074
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-07-15 Jeff Law <law@redhat.com>
* loop.c (check_insn_for_givs): Restore check for code labels that was
accidentally deleted by a recent checkin.
2004-07-15 Nathan Sidwell <nathan@codesourcery.com>
* vec.h (VEC_T_truncate): Allow truncation of an empty vector.

View File

@ -5485,7 +5485,7 @@ check_insn_for_givs (struct loop *loop, rtx p, int not_every_iteration,
/* Update the status of whether giv can derive other givs. This can
change when we pass a label or an insn that updates a biv. */
if (INSN_P (p))
if (INSN_P (p) || LABEL_P (p))
update_giv_derive (loop, p);
return p;
}