Commit 4c495b0d by Jan Hubicka Committed by Jan Hubicka

* timevar.c (validate_phases): Add cast.

From-SVN: r201921
parent 5e302bca
2013-08-22 Jan Hubicka <jh@susue.cz> 2013-08-22 Jan Hubicka <jh@susue.cz>
* timevar.c (validate_phases): Add cast.
2013-08-22 Jan Hubicka <jh@susue.cz>
* 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. * timevar.h (struct timevar_time_def): Use size_t for ggc_mem.
......
...@@ -465,7 +465,8 @@ validate_phases (FILE *fp) ...@@ -465,7 +465,8 @@ validate_phases (FILE *fp)
if (phase_wall > total->wall) if (phase_wall > total->wall)
fprintf (fp, "wall %24.18e > %24.18e\n", phase_wall, total->wall); fprintf (fp, "wall %24.18e > %24.18e\n", phase_wall, total->wall);
if (phase_ggc_mem > total->ggc_mem) if (phase_ggc_mem > total->ggc_mem)
fprintf (fp, "ggc_mem %24lu > %24lu\n", phase_ggc_mem, total->ggc_mem); fprintf (fp, "ggc_mem %24lu > %24lu\n", (unsigned long)phase_ggc_mem,
(unsigned long)total->ggc_mem);
gcc_unreachable (); gcc_unreachable ();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment