diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2017-06-06 10:05:29 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2017-06-06 08:05:29 +0000 |
commit | ce6ec23497cbe4cbac8165b927deaba220a523d8 (patch) | |
tree | 6361de8c128504ff91a7bfdf9cf6a397ba2d2026 /gcc/ipa-split.c | |
parent | 873fa2048c2525d1282a11ccfd19de5d94089246 (diff) | |
download | gcc-ce6ec23497cbe4cbac8165b927deaba220a523d8.zip gcc-ce6ec23497cbe4cbac8165b927deaba220a523d8.tar.gz gcc-ce6ec23497cbe4cbac8165b927deaba220a523d8.tar.bz2 |
* ipa-split.c (split_function): Initialize return bb profile.
From-SVN: r248911
Diffstat (limited to 'gcc/ipa-split.c')
-rw-r--r-- | gcc/ipa-split.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ipa-split.c b/gcc/ipa-split.c index 7778b9c..0af31d6 100644 --- a/gcc/ipa-split.c +++ b/gcc/ipa-split.c @@ -1278,6 +1278,7 @@ split_function (basic_block return_bb, struct split_point *split_point, basic_block new_return_bb = create_basic_block (NULL, 0, return_bb); gimple_stmt_iterator gsi = gsi_start_bb (new_return_bb); gsi_insert_after (&gsi, gimple_build_return (NULL), GSI_NEW_STMT); + new_return_bb->count = profile_count::zero (); while (redirected) { redirected = false; |