diff options
author | Seongbae Park <seongbae.park@gmail.com> | 2008-05-28 18:14:32 +0000 |
---|---|---|
committer | Seongbae Park <spark@gcc.gnu.org> | 2008-05-28 18:14:32 +0000 |
commit | 3dfb6f59635939b980bbad8a012057d1ec258a50 (patch) | |
tree | 171dcca9d608250fae06f8b432066dcd65c03996 /gcc/value-prof.c | |
parent | 5a976da002caf3838a1f986098ce655fb881efb8 (diff) | |
download | gcc-3dfb6f59635939b980bbad8a012057d1ec258a50.zip gcc-3dfb6f59635939b980bbad8a012057d1ec258a50.tar.gz gcc-3dfb6f59635939b980bbad8a012057d1ec258a50.tar.bz2 |
value-prof.c (tree_ic_transform): Print counts.
gcc/ChangeLog:
2008-05-28 Seongbae Park <seongbae.park@gmail.com>
* value-prof.c (tree_ic_transform): Print counts.
* tree-profile.c (tree_gen_ic_func_profiler):
Clear __gcov_indreict_call_callee variable
to avoid misattribution of the profile.
gcc/testsuite/ChangeLog:
2008-05-28 Seongbae Park <seongbae.park@gmail.com>
* gcc.dg/tree-prof/ic-misattribution-1.c: New test.
* gcc.dg/tree-prof/ic-misattribution-1a.c: New test.
* lib/profopt.exp (profopt-get-options): Support
dg-additional-sources.
(profopt-execute): Handle additional sources.
From-SVN: r136118
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r-- | gcc/value-prof.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c index 33ecded..8b0087a 100644 --- a/gcc/value-prof.c +++ b/gcc/value-prof.c @@ -1198,6 +1198,7 @@ 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); } return true; |