From: Jan Hubicka Date: Sun, 12 Sep 2004 20:14:23 +0000 (+0200) Subject: * ggc-common.c (cmp_statistics): Fix sorting. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8591459399b4773e629a008433fd4979e7bddd45;p=gcc.git * ggc-common.c (cmp_statistics): Fix sorting. From-SVN: r87404 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1c3b7affc1d..cea290af667 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-09-12 Jan Hubicka + + * ggc-common.c (cmp_statistics): Fix sorting. + 2004-09-12 David Edelsohn PR target/16795 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. */