profile.c (instrument_edges): Make sure any newly created jump insns have correct...
authorDJ Delorie <dj@redhat.com>
Sun, 30 Mar 2003 22:01:00 +0000 (17:01 -0500)
committerDJ Delorie <dj@gcc.gnu.org>
Sun, 30 Mar 2003 22:01:00 +0000 (17:01 -0500)
* profile.c (instrument_edges): Make sure any newly created
jump insns have correct jump label info.

From-SVN: r65056

gcc/ChangeLog
gcc/profile.c

index 3b02fd1..ea9655a 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-30  DJ Delorie  <dj@redhat.com>
+
+       * profile.c (instrument_edges): Make sure any newly created
+       jump insns have correct jump label info.
+
 2003-03-30  Richard Henderson  <rth@redhat.com>
 
        * cfgbuild.c (make_edges): Use tablejump_p.
index 261bfd0..6631b5e 100644 (file)
@@ -202,6 +202,7 @@ instrument_edges (el)
              insert_insn_on_edge (
                         gen_edge_profiler (total_num_edges_instrumented
                                            + num_instr_edges++), e);
+             rebuild_jump_labels (e->insns);
            }
          e = e->succ_next;
        }