]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Set JUMP_LABEL properly in instrument_loop_bct.
authorBernd Schmidt <bernds@redhat.co.uk>
Mon, 1 Jan 2001 18:42:49 +0000 (18:42 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Mon, 1 Jan 2001 18:42:49 +0000 (18:42 +0000)
From-SVN: r38595

gcc/ChangeLog
gcc/loop.c

index fb54fbb775884452095b867e1981e9cbcfb96983..3d40878c4fa4c624ffc32f5011f44566586e1028 100644 (file)
@@ -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.
index a85e6d33d477b5061f525f9063e54a4e4a3d7d96..d7242ed04eb2ee739f647b7a50bec494a68ad768 100644 (file)
@@ -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)++;
     }