From d81f5387a195d923614acd1c36b78de7d47d7411 Mon Sep 17 00:00:00 2001 From: Ghassan Shobaki Date: Tue, 9 Jun 2009 17:00:31 +0000 Subject: [PATCH] 2009-06-08 Ghassan Shobaki * tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Fixed a portability problem in printf format string. From-SVN: r148316 --- gcc/ChangeLog | 6 ++++++ gcc/tree-ssa-loop-prefetch.c | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e2b443706b1..818350569f4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-06-09 Ghassan Shobaki + + * tree-ssa-loop-prefetch.c + (loop_prefetch_arrays): Fixed a portability problem in printf format + string. + 2009-06-09 Martin Jambor PR tree-optimization/40351 diff --git a/gcc/tree-ssa-loop-prefetch.c b/gcc/tree-ssa-loop-prefetch.c index dd5732069c7..b4797076768 100644 --- a/gcc/tree-ssa-loop-prefetch.c +++ b/gcc/tree-ssa-loop-prefetch.c @@ -1583,10 +1583,11 @@ loop_prefetch_arrays (struct loop *loop) unroll_factor = determine_unroll_factor (loop, refs, ninsns, &desc, est_niter); if (dump_file && (dump_flags & TDF_DETAILS)) - fprintf (dump_file, "Ahead %d, unroll factor %d, trip count %ld\n" + fprintf (dump_file, "Ahead %d, unroll factor %d, trip count " + HOST_WIDE_INT_PRINT_DEC "\n" "insn count %d, mem ref count %d, prefetch count %d\n", - ahead, unroll_factor, est_niter, ninsns, mem_ref_count, - prefetch_count); + ahead, unroll_factor, est_niter, + ninsns, mem_ref_count, prefetch_count); if (!is_loop_prefetching_profitable (ahead, est_niter, ninsns, prefetch_count, mem_ref_count)) -- 2.30.2