diff options
author | Jan Hubicka <jh@suse.cz> | 2013-08-22 14:58:17 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-08-22 14:58:17 +0000 |
commit | 5e302bca18e8d48cc9f6a589bbd9d303565f17f9 (patch) | |
tree | ff9e209db8806d1e216f663d105f399b55883c83 /gcc/timevar.c | |
parent | a7a6a027f2034f4f92c63644744db1916c459678 (diff) | |
download | gcc-5e302bca18e8d48cc9f6a589bbd9d303565f17f9.zip gcc-5e302bca18e8d48cc9f6a589bbd9d303565f17f9.tar.gz gcc-5e302bca18e8d48cc9f6a589bbd9d303565f17f9.tar.bz2 |
timevar.c (validate_phases): Use size_t for memory.
* timevar.c (validate_phases): Use size_t for memory.
* timevar.h (struct timevar_time_def): Use size_t for ggc_mem.
From-SVN: r201920
Diffstat (limited to 'gcc/timevar.c')
-rw-r--r-- | gcc/timevar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/timevar.c b/gcc/timevar.c index 3e0ccb2..ab82e4b 100644 --- a/gcc/timevar.c +++ b/gcc/timevar.c @@ -430,7 +430,7 @@ validate_phases (FILE *fp) double phase_user = 0.0; double phase_sys = 0.0; double phase_wall = 0.0; - unsigned phase_ggc_mem = 0; + size_t phase_ggc_mem = 0; static char phase_prefix[] = "phase "; const double tolerance = 1.000001; /* One part in a million. */ @@ -465,7 +465,7 @@ validate_phases (FILE *fp) if (phase_wall > total->wall) fprintf (fp, "wall %24.18e > %24.18e\n", phase_wall, total->wall); if (phase_ggc_mem > total->ggc_mem) - fprintf (fp, "ggc_mem %24u > %24u\n", phase_ggc_mem, total->ggc_mem); + fprintf (fp, "ggc_mem %24lu > %24lu\n", phase_ggc_mem, total->ggc_mem); gcc_unreachable (); } } |