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
121356b0
Commit
121356b0
authored
Jan 05, 2019
by
Jan Hubicka
Committed by
Jan Hubicka
Jan 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ipa-fnsummary.c (analyze_function_body): Fix accounting of time.
From-SVN: r267600
parent
2a95da04
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/ipa-fnsummary.c
+2
-2
No files found.
gcc/ChangeLog
View file @
121356b0
2019-01-05 Jan Hubicka <hubicka@ucw.cz>
* ipa-fnsummary.c (analyze_function_body): Fix accounting of time.
2019-01-05 Jakub Jelinek <jakub@redhat.com>
PR middle-end/82564
...
...
gcc/ipa-fnsummary.c
View file @
121356b0
...
...
@@ -2234,12 +2234,12 @@ analyze_function_body (struct cgraph_node *node, bool early)
{
predicate
ip
=
bb_predicate
&
predicate
::
not_inlined
();
info
->
account_size_time
(
this_size
*
prob
,
(
this
_time
*
prob
)
/
2
,
ip
,
(
final
_time
*
prob
)
/
2
,
ip
,
p
);
}
if
(
prob
!=
2
)
info
->
account_size_time
(
this_size
*
(
2
-
prob
),
(
this
_time
*
(
2
-
prob
)
/
2
),
(
final
_time
*
(
2
-
prob
)
/
2
),
bb_predicate
,
p
);
}
...
...
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