summaryrefslogtreecommitdiff
path: root/gcc/profile.c
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-30 22:01:00 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-30 22:01:00 +0000
commit0c13497c4ce1043d0541aded4c5882e30f02891e (patch)
tree9e40de4a94bf84e55c799de83dc6e90ce91e7e9b /gcc/profile.c
parentac2fdc38a9038b2f3cf06b2be677af8f0522db50 (diff)
downloadgcc-0c13497c4ce1043d0541aded4c5882e30f02891e.tar.gz
* profile.c (instrument_edges): Make sure any newly created
jump insns have correct jump label info. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65056 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/profile.c')
-rw-r--r--gcc/profile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/profile.c b/gcc/profile.c
index 261bfd0d007..6631b5e92f6 100644
--- a/gcc/profile.c
+++ b/gcc/profile.c
@@ -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;
}