aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cfgloop.c')
-rw-r--r--gcc/cfgloop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfgloop.c b/gcc/cfgloop.c
index e6174bd2191..2087b9061a6 100644
--- a/gcc/cfgloop.c
+++ b/gcc/cfgloop.c
@@ -141,7 +141,8 @@ flow_loop_dump (const struct loop *loop, FILE *file,
bool read_profile_p;
gcov_type nit = expected_loop_iterations_unbounded (loop, &read_profile_p);
if (read_profile_p && !loop->any_estimate)
- fprintf (file, ";; profile-based iteration count: %lu\n", nit);
+ fprintf (file, ";; profile-based iteration count: %" PRIu64 "\n",
+ (uint64_t) nit);
}
fprintf (file, ";; nodes:");