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
be77e1e5
Commit
be77e1e5
authored
Mar 29, 2013
by
Jan Hubicka
Committed by
Jan Hubicka
Mar 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lto-cgraph.c (merge_profile_summaries): Fix overflows.
From-SVN: r197218
parent
eab19a1a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/lto-cgraph.c
+1
-1
No files found.
gcc/ChangeLog
View file @
be77e1e5
2013-03-28 Jan Hubicka <jh@suse.cz>
* lto-cgraph.c (merge_profile_summaries): Fix overflows.
2013-03-28 Ian Bolton <ian.bolton@arm.com>
2013-03-28 Ian Bolton <ian.bolton@arm.com>
* config/aarch64/aarch64.md (aarch64_can_eliminate): Keep frame
* config/aarch64/aarch64.md (aarch64_can_eliminate): Keep frame
...
...
gcc/lto-cgraph.c
View file @
be77e1e5
...
@@ -1362,7 +1362,7 @@ merge_profile_summaries (struct lto_file_decl_data **file_data_vec)
...
@@ -1362,7 +1362,7 @@ merge_profile_summaries (struct lto_file_decl_data **file_data_vec)
{
{
/* Scale up the min value as we did the corresponding sum_all
/* Scale up the min value as we did the corresponding sum_all
above. Use that to find the new histogram index. */
above. Use that to find the new histogram index. */
int
scaled_min
=
RDIV
(
saved_profile_info
->
histogram
[
h_ix
].
min_value
gcov_type
scaled_min
=
RDIV
(
saved_profile_info
->
histogram
[
h_ix
].
min_value
*
saved_scale
,
REG_BR_PROB_BASE
);
*
saved_scale
,
REG_BR_PROB_BASE
);
/* The new index may be shared with another scaled histogram entry,
/* The new index may be shared with another scaled histogram entry,
so we need to account for a non-zero histogram entry at new_ix. */
so we need to account for a non-zero histogram entry at new_ix. */
...
...
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