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: "tulipawn at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Sep 2016 11:29:27 +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
- Auto-submitted: auto-generated
- References: <bug-58306-4@http.gcc.gnu.org/bugzilla/>
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