On Fri, May 13, 2016 at 7:17 AM, H.J. Lu <hjl.to...@gmail.com> wrote: > On Fri, May 13, 2016 at 5:51 AM, Martin Liška <mli...@suse.cz> wrote: >> On 05/13/2016 02:46 PM, Richard Biener wrote: >>> Use them for HOST_WIDE_INT printing, for [u]int64_t use the PRI stuff. >>> >>> Richard. >> >> Thanks you both, installed as r236208. >> > > It isn't fixed: > > /export/gnu/import/git/sources/gcc/gcc/tree-ssa-loop-ivopts.c:7052:41: > error: format ‘%llu’ expects argument of type ‘long long unsigned > int’, but argument 3 has type ‘size_t {aka unsigned int}’ > [-Werror=format=] > set->used_inv_exprs->elements ()); >
I am going to check in this as an obvious fix. -- H.J. --- diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index 2b2115f..e8953a0 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) {