From: Jan Hubicka Date: Sun, 2 Jul 2017 22:16:30 +0000 (+0200) Subject: expect.c (dw2_build_landing_pads): Update profile of the landing pad bb. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57a5a8b3d64c2228dc064cf59b2d3aea09a36e94;p=gcc.git 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 --- 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) {