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
1f029433
Commit
1f029433
authored
Aug 01, 2013
by
Jan Hubicka
Committed by
Jan Hubicka
Aug 01, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* profile.c (compute_value_histograms): Fix thinko.
From-SVN: r201401
parent
c451f4d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/profile.c
+1
-1
No files found.
gcc/ChangeLog
View file @
1f029433
2013-08-01 Jan Hubicka <jh@suse.cz>
* profile.c (compute_value_histograms): Fix thinko.
2013-08-01 Sofiane Naci <sofiane.naci@arm.com>
2013-08-01 Sofiane Naci <sofiane.naci@arm.com>
* config.gcc (aarch64*-*-*): Add aarch-common.o to extra_objs. Add
* config.gcc (aarch64*-*-*): Add aarch-common.o to extra_objs. Add
...
...
gcc/profile.c
View file @
1f029433
...
@@ -891,7 +891,7 @@ compute_value_histograms (histogram_values values, unsigned cfg_checksum,
...
@@ -891,7 +891,7 @@ compute_value_histograms (histogram_values values, unsigned cfg_checksum,
gimple_add_histogram_value
(
cfun
,
stmt
,
hist
);
gimple_add_histogram_value
(
cfun
,
stmt
,
hist
);
hist
->
hvalue
.
counters
=
XNEWVEC
(
gcov_type
,
hist
->
n_counters
);
hist
->
hvalue
.
counters
=
XNEWVEC
(
gcov_type
,
hist
->
n_counters
);
for
(
j
=
0
;
j
<
hist
->
n_counters
;
j
++
)
for
(
j
=
0
;
j
<
hist
->
n_counters
;
j
++
)
if
(
aact_count
[
t
]
)
if
(
aact_count
)
hist
->
hvalue
.
counters
[
j
]
=
aact_count
[
j
];
hist
->
hvalue
.
counters
[
j
]
=
aact_count
[
j
];
else
else
hist
->
hvalue
.
counters
[
j
]
=
0
;
hist
->
hvalue
.
counters
[
j
]
=
0
;
...
...
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