https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100520
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target|aarch64, x86_64 | Severity|normal |major Component|debug |gcov-profile CC| |marxin at gcc dot gnu.org --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #3) > - __gcov_indirect_call_profiler_v4 (1387117561, f); > + __gcov_indirect_call_profiler_v4 (983609665, f); tree_uid = build_int_cst (gcov_type_node, cgraph_node::get (current_function_decl)->profile_id); profile_id is computed in coverage_compute_profile_id. Which has: chksum = coverage_checksum_string (chksum, aux_base_name); The problem is with -fcompare-debug the aux_base_name is different. Hmm, this code for coverage_compute_profile_id has not changed. Maybe the use of the profile id has changed though.