]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2009-06-08 Ghassan Shobaki <ghassan.shobaki@amd.com>
authorGhassan Shobaki <ghassan.shobaki@amd.com>
Tue, 9 Jun 2009 17:00:31 +0000 (17:00 +0000)
committerGhassan Shobaki <gshobaki@gcc.gnu.org>
Tue, 9 Jun 2009 17:00:31 +0000 (17:00 +0000)
        * tree-ssa-loop-prefetch.c
        (loop_prefetch_arrays): Fixed a portability problem in printf format
        string.

From-SVN: r148316

gcc/ChangeLog
gcc/tree-ssa-loop-prefetch.c

index e2b443706b1d7324b5c3870fcadb3de26cc4fb81..818350569f46a12b35596bf436927f025bea3e94 100644 (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
index dd5732069c71da012d0a215badc74b53da0454da..b47970767684063825e0669e572cb30f4ff4eddf 100644 (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))