[Bug gcov-profile/38292] corrupted profile info with -O[23] -fprofile-use

doko at ubuntu dot com gcc-bugzilla@gcc.gnu.org
Thu Feb 12 13:04:00 GMT 2009



------- Comment #2 from doko at ubuntu dot com  2009-02-12 13:04 -------
still seen with a backport of the patch to the 4.3 branch and with trunk
20090211 on amd64. works on i486.

gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes  -fprofile-use -I. -IInclude -I../Include   -DPy_BUILD_CORE
-o Modules/config.o Modules/config.c
../Python/thread.c: In function 'PyThread_acquire_lock':
../Python/thread.c:423: error: corrupted profile info: profile data is not
flow-consistent
../Python/thread.c:423: error: corrupted profile info: number of executions for
edge 16-3 thought to be -7
../Python/thread.c:423: error: corrupted profile info: number of executions for
edge 16-17 thought to be 4920917


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292



More information about the Gcc-bugs mailing list