projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d520aa
)
* ggc-common.c (cmp_statistics): Fix sorting.
author
Jan Hubicka
<jh@suse.cz>
Sun, 12 Sep 2004 20:14:23 +0000
(22:14 +0200)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Sun, 12 Sep 2004 20:14:23 +0000
(20:14 +0000)
From-SVN: r87404
gcc/ChangeLog
patch
|
blob
|
history
gcc/ggc-common.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 1c3b7affc1dfc24cd89786d324c9025371d45d56..cea290af667ce269e48e59daf61b10901443e622 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+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
diff --git
a/gcc/ggc-common.c
b/gcc/ggc-common.c
index ccda55c8c539387815faf2a72df9dddea103baf5..4f4e68fc89fab5aebab5aebf648178227ae970ed 100644
(file)
--- a/
gcc/ggc-common.c
+++ b/
gcc/ggc-common.c
@@
-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. */