aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorGreg McGary <greg@mcgary.org>2000-08-28 05:51:27 +0000
committerGreg McGary <gkm@gcc.gnu.org>2000-08-28 05:51:27 +0000
commita0bff95ffc4fa6262b6125172e2c5bc0760b46a9 (patch)
treec2ea404c780febc5ce34dcc7dc421c0550edf131 /gcc/loop.c
parenta440fd1970ea5eaaca67ac0ce34104eaedd4a596 (diff)
downloadgcc-a0bff95ffc4fa6262b6125172e2c5bc0760b46a9.zip
gcc-a0bff95ffc4fa6262b6125172e2c5bc0760b46a9.tar.gz
gcc-a0bff95ffc4fa6262b6125172e2c5bc0760b46a9.tar.bz2
cpplex.c (parse_string): Don't look for backslash before first char in `namebuf'.
* cpplex.c (parse_string): Don't look for backslash before first char in `namebuf'. * loop.c (strength_reduce): Skip NOTEs. From-SVN: r36015
Diffstat (limited to 'gcc/loop.c')
-rw-r--r--gcc/loop.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index 4400cbf..04fe7cc 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -4188,8 +4188,9 @@ strength_reduce (loop, insn_count, flags)
/* Some bivs are incremented with a multi-insn sequence.
The first insn contains the add. */
next_loc_insn = next->insn;
- while (! loc_mentioned_in_p (next->location,
- PATTERN (next_loc_insn)))
+ while (NOTE_P (next_loc_insn)
+ || ! loc_mentioned_in_p (next->location,
+ PATTERN (next_loc_insn)))
next_loc_insn = PREV_INSN (next_loc_insn);
if (next_loc_insn == v->insn)