* ggc-common.c (cmp_statistics): Fix sorting.
From-SVN: r87404
This commit is contained in:
parent
3d520aaf7d
commit
8591459399
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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 - l1->freed));
|
||||
(l2->allocated + l2->overhead - l2->freed));
|
||||
}
|
||||
|
||||
/* Collect array of the descriptors from hashtable. */
|
||||
|
|
Loading…
Add table
Reference in a new issue