diff options
author | Ghassan Shobaki <ghassan.shobaki@amd.com> | 2009-06-09 17:00:31 +0000 |
---|---|---|
committer | Ghassan Shobaki <gshobaki@gcc.gnu.org> | 2009-06-09 17:00:31 +0000 |
commit | d81f5387a195d923614acd1c36b78de7d47d7411 (patch) | |
tree | 44f22e5a57237ce860d99ea52693fc5a25e14cc7 /gcc/tree-ssa-loop-prefetch.c | |
parent | 8056eb4f3bac87e54c3ab2b5a99a308f7de8941a (diff) | |
download | gcc-d81f5387a195d923614acd1c36b78de7d47d7411.zip gcc-d81f5387a195d923614acd1c36b78de7d47d7411.tar.gz gcc-d81f5387a195d923614acd1c36b78de7d47d7411.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.c')
-rw-r--r-- | gcc/tree-ssa-loop-prefetch.c | 7 |
1 files changed, 4 insertions, 3 deletions
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)) |