aboutsummaryrefslogtreecommitdiff
path: root/gcc/timevar.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2013-08-22 15:25:53 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2013-08-22 15:25:53 +0000
commit4c495b0d9944eca0fbfb1abf3ad306e9b11ebde0 (patch)
tree5edde78863ff2e713538e7c52d65f1ad2f050342 /gcc/timevar.c
parent5e302bca18e8d48cc9f6a589bbd9d303565f17f9 (diff)
downloadgcc-4c495b0d9944eca0fbfb1abf3ad306e9b11ebde0.zip
gcc-4c495b0d9944eca0fbfb1abf3ad306e9b11ebde0.tar.gz
gcc-4c495b0d9944eca0fbfb1abf3ad306e9b11ebde0.tar.bz2
* timevar.c (validate_phases): Add cast.
From-SVN: r201921
Diffstat (limited to 'gcc/timevar.c')
-rw-r--r--gcc/timevar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/timevar.c b/gcc/timevar.c
index ab82e4b..23b7118 100644
--- a/gcc/timevar.c
+++ b/gcc/timevar.c
@@ -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 ();
}
}