aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc-common.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-11-15 20:55:19 -0800
committerRichard Henderson <rth@gcc.gnu.org>1999-11-15 20:55:19 -0800
commit63408827c4d31b6be3de9026658c5440e19c273b (patch)
tree843dc855bf9ff6321be0e9793797d36b421d0ea5 /gcc/ggc-common.c
parent1344f8d5d033c461d07e336331b6551bfb2c5c77 (diff)
downloadgcc-63408827c4d31b6be3de9026658c5440e19c273b.zip
gcc-63408827c4d31b6be3de9026658c5440e19c273b.tar.gz
gcc-63408827c4d31b6be3de9026658c5440e19c273b.tar.bz2
ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long for printing.
* ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long for printing. * ggc.h (struct ggc_statistics): Rearrange elements for better packing on 64-bit hosts. * lcm.c (compute_laterin): Store a size_t not an int in bb->aux. (compute_nearerout): Likewise. From-SVN: r30547
Diffstat (limited to 'gcc/ggc-common.c')
-rw-r--r--gcc/ggc-common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c
index 1a8aef538..bacbcdd 100644
--- a/gcc/ggc-common.c
+++ b/gcc/ggc-common.c
@@ -563,9 +563,9 @@ ggc_print_statistics (stream, stats)
/ ggc_stats->total_size_trees));
}
fprintf (stream,
- "%-22s%-15u %-15u\n", "Total",
+ "%-22s%-15u %-15lu\n", "Total",
ggc_stats->total_num_trees,
- ggc_stats->total_size_trees);
+ (unsigned long) ggc_stats->total_size_trees);
/* Print the statistics for RTL. */
fprintf (stream, "\n%-22s%-16s%-16s%-7s\n", "Code",
@@ -582,9 +582,9 @@ ggc_print_statistics (stream, stats)
/ ggc_stats->total_size_rtxs));
}
fprintf (stream,
- "%-22s%-15u %-15u\n", "Total",
+ "%-22s%-15u %-15lu\n", "Total",
ggc_stats->total_num_rtxs,
- ggc_stats->total_size_rtxs);
+ (unsigned long) ggc_stats->total_size_rtxs);
/* Don't gather statistics any more. */