diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2017-07-03 00:16:30 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2017-07-02 22:16:30 +0000 |
commit | 57a5a8b3d64c2228dc064cf59b2d3aea09a36e94 (patch) | |
tree | 78f76c017f5affa5b5fd880fa2fd48ad898750b6 | |
parent | b543d68098e1b74c63db89960f281cb96d3724a5 (diff) |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/except.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 953b38413c2..120f6bc48a6 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 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) { |