]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* cfgloop.c (flow_loop_dump): Cast nit to uint64_t and print it using
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Jun 2016 19:36:58 +0000 (19:36 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Jun 2016 19:36:58 +0000 (19:36 +0000)
PRIu64 instead of lu.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237772 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cfgloop.c

index 2bcf6b4fcdb743cb772947efb13888edc95c531c..bf1764ce792377182e2cd39465ff6336a8604164 100644 (file)
@@ -1,3 +1,8 @@
+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
index e6174bd2191b3a8cc0dd4d65ad8f71188ceec370..2087b9061a65ceae67ce8601dd6e4f703d0d4ec9 100644 (file)
@@ -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:");