diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-11-16 04:55:19 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-11-16 04:55:19 +0000 |
commit | 9ffd5d6d55f198455c1715b04476596dd7a6a898 (patch) | |
tree | 843dc855bf9ff6321be0e9793797d36b421d0ea5 /gcc/ggc-common.c | |
parent | b6f738586d2efcebe2af7d6e0eed0a77e547df29 (diff) | |
download | gcc-9ffd5d6d55f198455c1715b04476596dd7a6a898.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30547 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-common.c')
-rw-r--r-- | gcc/ggc-common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c index 1a8aef538f9..bacbcddbd5d 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. */ |