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 #36 from PeteVine <tulipawn at gmail dot com> ---
The original patch is still not enough it seems. I've just tried profiling the
C-ray benchmark from issue #53659 (./c-ray-mt -t 32 -s 160x120 -r 8 -i sphfract
-o output.ppm) and any -t (for threads) greater than 1 results in:

c-ray-mt.c: In function ‘ray_sphere’:
c-ray-mt.c:671:1: error: corrupted profile info: profile data is not
flow-consistent
 }
 ^
c-ray-mt.c:671:1: error: corrupted profile info: number of executions for edge
12-14 thought to be -67
c-ray-mt.c:671:1: error: corrupted profile info: number of executions for edge
12-13 thought to be 456322
c-ray-mt.c: In function ‘shade’:
c-ray-mt.c:671:1: error: corrupted profile info: profile data is not
flow-consistent
c-ray-mt.c:671:1: error: corrupted profile info: number of executions for edge
7-4 thought to be 113111929
c-ray-mt.c:671:1: error: corrupted profile info: number of executions for edge
7-8 thought to be -3827604

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