This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


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

--- Comment #20 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Artem S. Tashkinov from comment #19)
> (In reply to Martin Liška from comment #18)
> > Ok, problem is that various value profilers are not updated atomically,
> > fixed in:
> > https://gcc.gnu.org/ml/gcc-patches/2016-08/msg00600.html
> 
> Thank you!
> 
> Do I understand the patch correctly that it requires
> "-fprofile-update=atomic" option in order to eliminate this bug?

Exactly, I hope I'll be able to merge the whole patchset (5) to mainline soon.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]