projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57a5a8b
)
* bb-reorder.c (fix_up_crossing_landing_pad): Update profile.
author
Jan Hubicka
<hubicka@ucw.cz>
Sun, 2 Jul 2017 22:18:21 +0000
(
00:18
+0200)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Sun, 2 Jul 2017 22:18:21 +0000
(22:18 +0000)
From-SVN: r249886
gcc/ChangeLog
patch
|
blob
|
history
gcc/bb-reorder.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 120f6bc48a6ac2b587559d86ec4f06d54da53b90..7e0cf647244e6f6347723afe4578c6c430c02449 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+2017-07-02 Jan Hubicka <hubicka@ucw.cz>
+
+ * bb-reorder.c (fix_up_crossing_landing_pad): Update profile.
+
2017-07-02 Jan Hubicka <hubicka@ucw.cz>
* expect.c (dw2_build_landing_pads): Update profile of the landing pad
diff --git
a/gcc/bb-reorder.c
b/gcc/bb-reorder.c
index f8ef913c5395ea87afea2ea332390f07e18d25c8..ebd8b481a9215766ccc16dcf991dda9f6d6b4598 100644
(file)
--- a/
gcc/bb-reorder.c
+++ b/
gcc/bb-reorder.c
@@
-1446,6
+1446,8
@@
fix_up_crossing_landing_pad (eh_landing_pad old_lp, basic_block old_bb)
last_bb = EXIT_BLOCK_PTR_FOR_FN (cfun)->prev_bb;
new_bb = create_basic_block (new_label, jump, last_bb);
new_bb->aux = last_bb->aux;
+ new_bb->frequency = post_bb->frequency;
+ new_bb->count = post_bb->count;
last_bb->aux = new_bb;
emit_barrier_after_bb (new_bb);