This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Aug 2016 11:56:04 +0000
- Subject: [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
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-58306-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58306
--- Comment #34 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #33)
> Created attachment 39275 [details]
> Patch candidate for the fallout
>
> Hi Andread.
*Andreas
>
> 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?