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
85914593
Commit
85914593
authored
Sep 12, 2004
by
Jan Hubicka
Committed by
Jan Hubicka
Sep 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ggc-common.c (cmp_statistics): Fix sorting.
From-SVN: r87404
parent
3d520aaf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/ggc-common.c
+1
-1
No files found.
gcc/ChangeLog
View file @
85914593
2004
-
09
-
12
Jan
Hubicka
<
jh
@
suse
.
cz
>
*
ggc
-
common
.
c
(
cmp_statistics
):
Fix
sorting
.
2004
-
09
-
12
David
Edelsohn
<
edelsohn
@
gnu
.
org
>
PR
target
/
16795
...
...
gcc/ggc-common.c
View file @
85914593
...
...
@@ -916,7 +916,7 @@ cmp_statistic (const void *loc1, const void *loc2)
struct
loc_descriptor
*
l1
=
*
(
struct
loc_descriptor
**
)
loc1
;
struct
loc_descriptor
*
l2
=
*
(
struct
loc_descriptor
**
)
loc2
;
return
((
l1
->
allocated
+
l1
->
overhead
-
l1
->
freed
)
-
(
l2
->
allocated
+
l2
->
overhead
-
l
1
->
freed
));
(
l2
->
allocated
+
l2
->
overhead
-
l
2
->
freed
));
}
/* Collect array of the descriptors from hashtable. */
...
...
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