value-prof.c (tree_ic_transform): Print counts.
authorSeongbae Park <seongbae.park@gmail.com>
Wed, 28 May 2008 18:14:32 +0000 (18:14 +0000)
committerSeongbae Park <spark@gcc.gnu.org>
Wed, 28 May 2008 18:14:32 +0000 (18:14 +0000)
commit3dfb6f59635939b980bbad8a012057d1ec258a50
tree171dcca9d608250fae06f8b432066dcd65c03996
parent5a976da002caf3838a1f986098ce655fb881efb8
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
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/ic-misattribution-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-prof/ic-misattribution-1a.c [new file with mode: 0644]
gcc/testsuite/lib/profopt.exp
gcc/tree-profile.c
gcc/value-prof.c