aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/loop.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index aa77487..d851a828 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/loop.c b/gcc/loop.c
index 97d1571..a6353d7 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;
}