From 9270f90074c68721abfb476844c70b23254c65d2 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 15 Jul 2004 08:55:15 -0600 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/loop.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; } -- 2.30.2