From: Martin Liska Date: Fri, 13 May 2016 12:51:29 +0000 (+0200) Subject: IVOPTS dump fall-out X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7549163c15796e33369661ea90cc6a6900d13fc2;p=gcc.git IVOPTS dump fall-out * tree-ssa-loop-ivopts.c (create_new_ivs): Use HOST_WIDE_INT_PRINT_DEC and PRIu64 in printf format. From-SVN: r236208 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1a4c15737be..14c37d769b4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-05-13 Martin Liska + + * tree-ssa-loop-ivopts.c (create_new_ivs): Use HOST_WIDE_INT_PRINT_DEC + and PRIu64 in printf format. + 2016-05-13 Kyrylo Tkachov * tree-ssa-loop-ivanon.c (try_unroll_loop_completely): Typo fix in diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index 62b88350008..2b2115fb2c3 100644 --- a/gcc/tree-ssa-loop-ivopts.c +++ b/gcc/tree-ssa-loop-ivopts.c @@ -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)