Cast to unsigned HOST_WIDE_INT in printf format
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 13 May 2016 16:51:27 +0000 (16:51 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 13 May 2016 16:51:27 +0000 (09:51 -0700)
* tree-ssa-loop-ivopts.c (create_new_ivs): Cast to
unsigned HOST_WIDE_INT with HOST_WIDE_INT_PRINT_UNSIGNED in
printf format.

From-SVN: r236214

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

index b4110a78336e323e317b5886a35a085d5d84ed6f..17c0ea4f4fc42b00c4b352325192ee36b76fab4b 100644 (file)
@@ -1,3 +1,9 @@
+2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * tree-ssa-loop-ivopts.c (create_new_ivs): Cast to
+       unsigned HOST_WIDE_INT with HOST_WIDE_INT_PRINT_UNSIGNED in
+       printf format.
+
 2016-05-13  Nathan Sidwell  <nathan@acm.org>
 
        * config/nvptx/nvptx.c (nvptx_mangle_decl_assembler_name): New.
index 2b2115fb2c36768277cce0ec6e525c8fb29c3fc2..e8953a05b0b708340dfd91d4a9f940c648c74b39 100644 (file)
@@ -7048,8 +7048,8 @@ create_new_ivs (struct ivopts_data *data, struct iv_ca *set)
                 LOCATION_LINE (data->loop_loc));
       fprintf (dump_file, ", " HOST_WIDE_INT_PRINT_DEC " avg niters",
               avg_loop_niter (data->current_loop));
-      fprintf (dump_file, ", %" PRIu64 " expressions",
-              set->used_inv_exprs->elements ());
+      fprintf (dump_file, ", " HOST_WIDE_INT_PRINT_UNSIGNED " expressions",
+              (unsigned HOST_WIDE_INT) 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)
        {