diff options
author | Bernd Schmidt <bernds@redhat.co.uk> | 2001-01-01 18:42:49 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2001-01-01 18:42:49 +0000 |
commit | 8353b540e6bf07bc4de944da9c3772c619f86a9c (patch) | |
tree | b8bd6d7d1d1bfe93a6335ffaa463614ff8b9c263 | |
parent | 3f25ef56d00154caf730194e05c38fa6353b19b2 (diff) |
Set JUMP_LABEL properly in instrument_loop_bct.
From-SVN: r38595
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/loop.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb54fbb7758..3d40878c4fa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -2,6 +2,8 @@ * version.c: Bump. + * loop.c (instrument_loop_bct): Set JUMP_LABEL on new jump. + 2000-12-27 Geoffrey Keating <geoffk@redhat.com> * config/rs6000/rs6000.md (define_attr "length"): Correct calculation. diff --git a/gcc/loop.c b/gcc/loop.c index a85e6d33d47..d7242ed04eb 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -9386,6 +9386,7 @@ instrument_loop_bct (loop_start, loop_end, loop_num_iterations) emit_jump_insn_before (gen_decrement_and_branch_on_count (counter_reg, start_label), loop_end); + JUMP_LABEL (prev_nonnote_insn (loop_end)) = start_label; LABEL_NUSES (start_label)++; } |