2009-06-08 Ghassan Shobaki <ghassan.shobaki@amd.com>

* tree-ssa-loop-prefetch.c
        (loop_prefetch_arrays): Fixed a portability problem in printf format
        string.

From-SVN: r148316
This commit is contained in:
Ghassan Shobaki 2009-06-09 17:00:31 +00:00 committed by Ghassan Shobaki
parent 8056eb4f3b
commit d81f5387a1
2 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -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))