From cc29143343f0b7dc59c9d0f8399ac1135e947b0c Mon Sep 17 00:00:00 2001 From: Finn Hakansson Date: Thu, 25 Mar 1999 16:31:16 +0000 Subject: [PATCH] * loop.c (strength_reduce): Correct a comment. From-SVN: r25983 --- gcc/ChangeLog | 2 ++ gcc/loop.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c5b4eed285a..839469c9d04 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -40,6 +40,8 @@ Thu Mar 25 10:05:56 1999 Richard Henderson Thu Mar 25 02:12:42 1999 Finn Hakansson + * loop.c (strength_reduce): Correct a comment. + * rtl.h (MEM_COPY_ATTRIBUTES): Remove unnecessary ending backslash. Thu Mar 25 02:02:13 1999 Axel Thimm diff --git a/gcc/loop.c b/gcc/loop.c index c218edaa549..7f3b51d03fe 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -4149,10 +4149,10 @@ strength_reduce (scan_start, end, loop_top, insn_count, this can't succeed if we already know that there is a jump between v->insn and next->insn, yet next->always_executed is set and next->maybe_multiple is cleared. Such a combination - implies that the jump destination is outseide the loop. + implies that the jump destination is outside the loop. If we want to make this check more sophisticated, we should check each branch between v->insn and next->insn individually - to see if it the biv is dead at its destination. */ + to see if the biv is dead at its destination. */ if (uid_luid[REGNO_LAST_UID (bl->regno)] < INSN_LUID (loop_end) && bl->init_insn -- 2.30.2