diff options
author | gkm <gkm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-28 05:51:27 +0000 |
---|---|---|
committer | gkm <gkm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-28 05:51:27 +0000 |
commit | 3df8a797832ec2bbfdbf15f172923555d44eb531 (patch) | |
tree | c2ea404c780febc5ce34dcc7dc421c0550edf131 /gcc/loop.c | |
parent | f8aeab4131f0ccb5fa6bd6e0588527fc45250d44 (diff) | |
download | gcc-3df8a797832ec2bbfdbf15f172923555d44eb531.tar.gz |
* cpplex.c (parse_string): Don't look for backslash
before first char in `namebuf'.
* loop.c (strength_reduce): Skip NOTEs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36015 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop.c')
-rw-r--r-- | gcc/loop.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/loop.c b/gcc/loop.c index 4400cbf40e9..04fe7ccbab0 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) |