Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
ce6ec234
Commit
ce6ec234
authored
Jun 06, 2017
by
Jan Hubicka
Committed by
Jan Hubicka
Jun 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ipa-split.c (split_function): Initialize return bb profile.
From-SVN: r248911
parent
873fa204
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
gcc/ChangeLog
+4
-0
gcc/ipa-split.c
+1
-0
No files found.
gcc/ChangeLog
View file @
ce6ec234
2017-06-06 Jan Hubicka <hubicka@ucw.cz>
* ipa-split.c (split_function): Initialize return bb profile.
2017-06-06 Jan Hubicka <hubicka@ucw.cz>
* profile.c (compute_branch_probabilities): Also initialize
EXIT_BLOCK profile.
...
...
gcc/ipa-split.c
View file @
ce6ec234
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment