From: H.J. Lu Date: Fri, 13 May 2016 16:51:27 +0000 (+0000) Subject: Cast to unsigned HOST_WIDE_INT in printf format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8d68c5bd56c661bc13206f44c193a3360d8f042;p=gcc.git Cast to unsigned HOST_WIDE_INT in printf format * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b4110a78336..17c0ea4f4fc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-05-13 H.J. Lu + + * 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 * config/nvptx/nvptx.c (nvptx_mangle_decl_assembler_name): New. diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index 2b2115fb2c3..e8953a05b0b 100644 --- a/gcc/tree-ssa-loop-ivopts.c +++ b/gcc/tree-ssa-loop-ivopts.c @@ -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) {