diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-12 20:14:23 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-12 20:14:23 +0000 |
commit | 0c07444c6de5bb4e3c0e7e872e35a2db7cb8f85d (patch) | |
tree | 6c2c0b025225209cdaacf32ebb0c8be620296773 /gcc/ggc-common.c | |
parent | cb2e141eda2b6ea00a0671e451c62e98defe64b2 (diff) | |
download | gcc-0c07444c6de5bb4e3c0e7e872e35a2db7cb8f85d.tar.gz |
* ggc-common.c (cmp_statistics): Fix sorting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87404 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-common.c')
-rw-r--r-- | gcc/ggc-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c index ccda55c8c53..4f4e68fc89f 100644 --- 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 - l1->freed)); + (l2->allocated + l2->overhead - l2->freed)); } /* Collect array of the descriptors from hashtable. */ |