* timevar.c (validate_phases): Add cast.

From-SVN: r201921
This commit is contained in:
Jan Hubicka 2013-08-22 15:25:53 +00:00 committed by Jan Hubicka
parent 5e302bca18
commit 4c495b0d99
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -465,7 +465,8 @@ 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 %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 ();
}
}