summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-prefetch.c
diff options
context:
space:
mode:
authorgshobaki <gshobaki@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-09 17:00:31 +0000
committergshobaki <gshobaki@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-09 17:00:31 +0000
commitf937ec59e0151fef2b3eac338fe592fdc4b48a9d (patch)
tree44f22e5a57237ce860d99ea52693fc5a25e14cc7 /gcc/tree-ssa-loop-prefetch.c
parent3100070851abf98bba692ba047f119ff04926aa5 (diff)
downloadgcc-f937ec59e0151fef2b3eac338fe592fdc4b48a9d.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148316 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.c')
-rw-r--r--gcc/tree-ssa-loop-prefetch.c7
1 files changed, 4 insertions, 3 deletions
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))