From: Jeff Law Date: Thu, 15 Jul 2004 14:55:15 +0000 (-0600) Subject: loop.c (check_insn_for_givs): Restore check for code labels that was accidentally... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9270f90074c68721abfb476844c70b23254c65d2;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aa7748757be..d851a8286eb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-15 Jeff Law + + * loop.c (check_insn_for_givs): Restore check for code labels that was + accidentally deleted by a recent checkin. + 2004-07-15 Nathan Sidwell * vec.h (VEC_T_truncate): Allow truncation of an empty vector. diff --git a/gcc/loop.c b/gcc/loop.c index 97d15710c15..a6353d79518 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -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; }