[Bug gcov-profile/58306] Broken profiling for unrar sources: error: corrupted value profile: value profile counter (X out of Y) inconsistent with basic-block count

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 12 11:55:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58306

--- Comment #33 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 39275
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39275&action=edit
Patch candidate for the fallout

Hi Andread.

Can you please test me the following patch. I understand why the symbol is
undefined, but what I don't understand why is atomic update mode selected for
the test-case. Following patch should detect whether a target is capable of
atomic update operations, however libgcov.a would still contain
__atomic_fetch_add_8, which should be fine as soon as nobody is calling
functions that contain the symbol?


More information about the Gcc-bugs mailing list