aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/except.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 953b384..120f6bc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2017-07-02 Jan Hubicka <hubicka@ucw.cz>
+ * expect.c (dw2_build_landing_pads): Update profile of the landing pad
+ bb.
+
+2017-07-02 Jan Hubicka <hubicka@ucw.cz>
+
* tree-complex.c (expand_complex_div_wide): update profile.
2017-07-02 Richard Sandiford <richard.sandiford@linaro.org>
diff --git a/gcc/except.c b/gcc/except.c
index 5709bdb..ffa5b75 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -990,6 +990,8 @@ dw2_build_landing_pads (void)
end_sequence ();
bb = emit_to_new_bb_before (seq, label_rtx (lp->post_landing_pad));
+ bb->count = bb->next_bb->count;
+ bb->frequency = bb->next_bb->frequency;
make_single_succ_edge (bb, bb->next_bb, e_flags);
if (current_loops)
{