From 57a5a8b3d64c2228dc064cf59b2d3aea09a36e94 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 3 Jul 2017 00:16:30 +0200 Subject: [PATCH] expect.c (dw2_build_landing_pads): Update profile of the landing pad bb. * expect.c (dw2_build_landing_pads): Update profile of the landing pad bb. From-SVN: r249885 --- gcc/ChangeLog | 5 +++++ gcc/except.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 953b38413c2..120f6bc48a6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-07-02 Jan Hubicka + + * expect.c (dw2_build_landing_pads): Update profile of the landing pad + bb. + 2017-07-02 Jan Hubicka * tree-complex.c (expand_complex_div_wide): update profile. diff --git a/gcc/except.c b/gcc/except.c index 5709bdbed65..ffa5b75a465 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) { -- 2.30.2