On Tue, 2008-10-07 at 17:55 +0200, Andreas Schwab wrote:
> 
> I think to make that work tree_gen_ic_profiler and
> tree_gen_ic_func_profiler would have to dereference the function
> descriptor to extract the code address, which would then have the
> necessary uniqueness which the vtable function descriptor lacks.
> 
> Andreas.

There seems to be more then just a missing level of dereferencing going
on.  For example, I think that the program, when compiled with
-fprofile-generate, should be putting an address into
__gcov_indirect_call_callee before calling __gcov_indirect_call_profiler
(if I am reading the x86 code correctly) but on IA64 I don't see
anything that writes to __gcov_indirect_call_callee.

There is already a defect for this bug, PR 32277, I may just add what I
have found to the PR and XFAIL the test like Richard suggested.  It has
never worked on IA64.

Steve Ellcey
[EMAIL PROTECTED]

Reply via email to