diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/tree-ssa-loop-prefetch.c | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e2b4437..8183505 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-06-09 Ghassan Shobaki <ghassan.shobaki@amd.com> + + * tree-ssa-loop-prefetch.c + (loop_prefetch_arrays): Fixed a portability problem in printf format + string. + 2009-06-09 Martin Jambor <mjambor@suse.cz> PR tree-optimization/40351 diff --git a/gcc/tree-ssa-loop-prefetch.c b/gcc/tree-ssa-loop-prefetch.c index dd57320..b479707 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)) |