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 /gcc/except.c | |
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
Diffstat (limited to 'gcc/except.c')
-rw-r--r-- | gcc/except.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |