IVOPTS dump fall-out
authorMartin Liska <mliska@suse.cz>
Fri, 13 May 2016 12:51:29 +0000 (14:51 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 13 May 2016 12:51:29 +0000 (12:51 +0000)
* tree-ssa-loop-ivopts.c (create_new_ivs): Use HOST_WIDE_INT_PRINT_DEC
and PRIu64 in printf format.

From-SVN: r236208

gcc/ChangeLog
gcc/tree-ssa-loop-ivopts.c

index 1a4c15737be382335696633291031df37ef37bec..14c37d769b474f2e77427c44ad5532520bb1cc75 100644 (file)
@@ -1,3 +1,8 @@
+2016-05-13  Martin Liska  <mliska@suse.cz>
+
+       * tree-ssa-loop-ivopts.c (create_new_ivs): Use HOST_WIDE_INT_PRINT_DEC
+       and PRIu64 in printf format.
+
 2016-05-13  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        * tree-ssa-loop-ivanon.c (try_unroll_loop_completely): Typo fix in
index 62b88350008721843edbbed1eec22935ad8567b9..2b2115fb2c36768277cce0ec6e525c8fb29c3fc2 100644 (file)
@@ -7046,9 +7046,9 @@ create_new_ivs (struct ivopts_data *data, struct iv_ca *set)
       if (data->loop_loc != UNKNOWN_LOCATION)
        fprintf (dump_file, " at %s:%d", LOCATION_FILE (data->loop_loc),
                 LOCATION_LINE (data->loop_loc));
-      fprintf (dump_file, ", %lu avg niters",
+      fprintf (dump_file, ", " HOST_WIDE_INT_PRINT_DEC " avg niters",
               avg_loop_niter (data->current_loop));
-      fprintf (dump_file, ", %lu expressions",
+      fprintf (dump_file, ", %" PRIu64 " expressions",
               set->used_inv_exprs->elements ());
       fprintf (dump_file, ", %lu IVs:\n", bitmap_count_bits (set->cands));
       EXECUTE_IF_SET_IN_BITMAP (set->cands, 0, i, bi)