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/38292] [4.3/4.4/4.5/4.6 Regression] corrupted profile info with -O[23] -fprofile-use


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

--- Comment #15 from Matthias Klose <doko at ubuntu dot com> 2011-01-25 05:21:24 UTC ---
hmm, can't set the status back to NEW, just to RESOLVED. ...

a normal build of 3.2rc1 succeeds with trunk r169142 and the proposed fix for
PR47271.

the profiled build still fails with:


gcc-4.6 -pthread -c  -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes 
-fprofile-use  -I. -IInclude -I../Include    -DPy_BUILD_CORE -o
Python/bltinmodule.o ../Python/bltinmodule.c
../Python/bltinmodule.c: In function 'builtin___build_class__':
../Python/bltinmodule.c:40:23: warning: variable 'nbases' set but not used
[-Wunused-but-set-variable]
../Python/bltinmodule.c: In function 'builtin_exec':
../Python/bltinmodule.c:769:9: warning: variable 'plain' set but not used
[-Wunused-but-set-variable]
gcc-4.6 -pthread -c  -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes 
-fprofile-use  -I. -IInclude -I../Include    -DPy_BUILD_CORE -o Python/ceval.o
../Python/ceval.c
../Python/ceval.c: In function 'PyEval_RestoreThread':
../Python/ceval.c:4472:1: error: corrupted profile info: profile data is not
flow-consistent
../Python/ceval.c:4472:1: error: corrupted profile info: number of executions
for edge 4-5 thought to be 2002859
../Python/ceval.c:4472:1: error: corrupted profile info: number of executions
for edge 4-1 thought to be -9
make[3]: *** [Python/ceval.o] Error 1


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