Commit 65e009bb by Jakub Jelinek Committed by Jakub Jelinek

cfgloop.c (flow_loop_dump): Cast nit to uint64_t and print it using PRIu64 instead of lu.

	* cfgloop.c (flow_loop_dump): Cast nit to uint64_t and print it using
	PRIu64 instead of lu.

From-SVN: r237772
parent 7b22b4c6
2016-06-24 Jakub Jelinek <jakub@redhat.com>
* cfgloop.c (flow_loop_dump): Cast nit to uint64_t and print it using
PRIu64 instead of lu.
2016-06-24 Eric Botcazou <ebotcazou@adacore.com>
PR debug/71642
......
......@@ -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:");
......
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