aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeongbae Park <seongbae.park@gmail.com>2008-05-28 22:03:14 +0000
committerSeongbae Park <spark@gcc.gnu.org>2008-05-28 22:03:14 +0000
commit68bb68ca00d81fc900219c3d503a653f663e974b (patch)
treeabe590b5a3b0fcfcda27684c922e88c817ef83e5
parente68954309d6a19f6008491b90da7bf0c78b3b6b1 (diff)
downloadgcc-68bb68ca00d81fc900219c3d503a653f663e974b.zip
gcc-68bb68ca00d81fc900219c3d503a653f663e974b.tar.gz
gcc-68bb68ca00d81fc900219c3d503a653f663e974b.tar.bz2
value-prof.c (tree_ic_transform): Use HOST_WIDEST_INT_PRINT_DEC for printing gcov_type.
2008-05-28 Seongbae Park <seongbae.park@gmail.com> * value-prof.c (tree_ic_transform): Use HOST_WIDEST_INT_PRINT_DEC for printing gcov_type. From-SVN: r136131
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/value-prof.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 406a083..9c10b88 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,4 +1,9 @@
2008-05-28 Seongbae Park <seongbae.park@gmail.com>
+
+ * value-prof.c (tree_ic_transform): Use HOST_WIDEST_INT_PRINT_DEC
+ for printing gcov_type.
+
+2008-05-28 Seongbae Park <seongbae.park@gmail.com>
* tree-ssa-propagate.c (set_rhs): Preserve the histogram
and the eh region information.
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index 61b0a07..fbefc97 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -1217,7 +1217,8 @@ tree_ic_transform (tree stmt)
print_generic_stmt (dump_file, stmt, TDF_SLIM);
fprintf (dump_file, " to ");
print_generic_stmt (dump_file, modify, TDF_SLIM);
- fprintf (dump_file, "hist->count %llu hist->all %llu\n", count, all);
+ fprintf (dump_file, "hist->count "HOST_WIDEST_INT_PRINT_DEC
+ " hist->all "HOST_WIDEST_INT_PRINT_DEC"\n", count, all);
}
return true;