diff options
author | spark <spark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-28 18:14:32 +0000 |
---|---|---|
committer | spark <spark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-28 18:14:32 +0000 |
commit | 31434f4ad1530e2a7d54dbba9a94e9fd2469a054 (patch) | |
tree | 171dcca9d608250fae06f8b432066dcd65c03996 /gcc/value-prof.c | |
parent | f8aa77dcb6256ad61c0942fc161850f6139165c1 (diff) | |
download | gcc-31434f4ad1530e2a7d54dbba9a94e9fd2469a054.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136118 138bc75d-0d04-0410-961f-82ee72b054a4
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 33ecded88c3..8b0087a850f 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; |