Hi. This one is forgotten removal as we call __gcov_indirect_call_profiler_v2 only in situations where __gcov_indirect_call_callee is non-null.
I'm going to install that. libgcc/ChangeLog: 2018-07-31 Martin Liska <mli...@suse.cz> * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not check that __gcov_indirect_call_callee is non-null. --- libgcc/libgcov-profiler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libgcc/libgcov-profiler.c b/libgcc/libgcov-profiler.c index 596b35b1efd..7e208d75d86 100644 --- a/libgcc/libgcov-profiler.c +++ b/libgcc/libgcov-profiler.c @@ -333,7 +333,7 @@ __gcov_indirect_call_profiler_v2 (gcov_type value, void* cur_func) function may have multiple descriptors and we need to dereference the descriptors to see if they point to the same function. */ if (cur_func == __gcov_indirect_call_callee - || (__LIBGCC_VTABLE_USES_DESCRIPTORS__ && __gcov_indirect_call_callee + || (__LIBGCC_VTABLE_USES_DESCRIPTORS__ && *(void **) cur_func == *(void **) __gcov_indirect_call_callee)) __gcov_one_value_profiler_body (__gcov_indirect_call_counters, value, 0);