This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: feedback driven optimization error
- From: Mark Goldenberg <goldenbe at cs dot ualberta dot ca>
- To: gcc-help at gcc dot gnu dot org
- Cc: Theodore Tegos <tegos at cs dot ualberta dot ca>
- Date: Mon, 6 May 2002 12:02:17 -0600 (MDT)
- Subject: Re: feedback driven optimization error
Hello,
BTW, we are using gcc version 3.0.4 on IRIX 6.5
-Mark
On Mon, 6 May 2002, Mark Goldenberg wrote:
>
> Hello,
>
> We are trying to use -fprofile-arcs to instrument the program and create
> the .da files. That works. However, when we recompiled the program with
> -fbranch-probabilities, we got the following warnings. Did we do something
> wrong?
>
> Thanks,
>
> -Mark
>
> bash-2.01$ gcc -DNC -O3 -fbranch-probabilities -o nc *.c
> Database.c:927: warning: .da file contents exhausted too early
>
> Legal.c: In function `Legal':
> Legal.c:77: warning: Arc profiling: some edge counts were bad.
> Legal.c: In function `Capture1':
> Legal.c:232: warning: Arc profiling: some edge counts were bad.
> Legal.c: At top level:
> Legal.c:280: warning: .da file contents exhausted too early
>
> Move.c:80: warning: .da file contents not exhausted
>
> bit.c: In function `bitInit':
> bit.c:99: warning: Arc profiling: some edge counts were bad.
> checkers.c:0: warning: file checkers.da not found, execution counts
> assumed to b
> e zero.
> database.c:0: warning: file database.da not found, execution counts
> assumed to b
> e zero.
> db.c:1:1: warning: "__GNUC__" redefined
> <command line>:1:1: warning: this is the location of the previous
> definition
> db.c: In function `InitPosition':
> db.c:1089: warning: Arc profiling: some edge counts were bad.
> db.c: In function `NextPosition':
> db.c:1119: warning: Arc profiling: some edge counts were bad.
> db.c: In function `dbLocbvToSubIdx':
> db.c:1474: warning: Arc profiling: some edge counts were bad.
> db.c: In function `SetBPIndex':
> db.c:1705: warning: Arc profiling: some edge counts were bad.
> db.c: In function `SetWPIndex':
> db.c:1719: warning: Arc profiling: some edge counts were bad.
> db.c: In function `dbOrigOrMirr':
> db.c:2609: warning: Arc profiling: some edge counts were bad.
> db.c: In function `dbValInit':
> db.c:2609: warning: Arc profiling: some edge counts were bad.
> db.c: In function `Consistency':
> db.c:2609: warning: Arc profiling: some edge counts were bad.
> db.c: In function `CheckCaptures':
> db.c:2609: warning: Arc profiling: some edge counts were bad.
> db.c: In function `DoWinningMoves':
> db.c:2609: warning: Arc profiling: some edge counts were bad.
> db.c: In function `UnknownsToTies':
> db.c:2609: warning: Arc profiling: some edge counts were bad.
> db.c: In function `GetDistance':
> db.c:2609: warning: Arc profiling: some edge counts were bad.
> db.c: In function `UnSquishForward':
> db.c:2609: warning: Arc profiling: some edge counts were bad.
> db.c: In function `UnSquishBackward':
> db.c:2609: warning: Arc profiling: some edge counts were bad.
> db.c: At top level:
> db.c:2609: warning: .da file contents exhausted too early
>
> hack.c:0: warning: file hack.da not found, execution counts assumed to be
> zero.
> index.c: In function `CreateTblbbToIdx':
> index.c:191: warning: Arc profiling: some edge counts were bad.
> index.c: In function `CreateTblToIdxC':
> index.c:262: warning: Arc profiling: some edge counts were bad.
> index.c: In function `idxCreate':
> index.c:351: warning: Arc profiling: some edge counts were bad.
> index.c: In function `idxFromPos':
> index.c:459: warning: Arc profiling: some edge counts were bad.
> index.c: At top level:
> index.c:481: warning: .da file contents not exhausted
>
> init.c: In function `Display':
> init.c:180: warning: Arc profiling: some edge counts were bad.
> init.c: At top level:
> init.c:181: warning: .da file contents not exhausted
>
> main.c: In function `main':
> main.c:666: warning: Arc profiling: some edge counts were bad.
> main.c: At top level:
> main.c:739: warning: .da file contents not exhausted
>
> page.c:1:1: warning: "__GNUC__" redefined
> <command line>:1:1: warning: this is the location of the previous
> definition
> page.c: In function `ReadPage':
> page.c:191: warning: Arc profiling: some edge counts were bad.
> page.c: In function `WritePage':
> page.c:240: warning: Arc profiling: some edge counts were bad.
> page.c: In function `PrintPTI':
> page.c:290: warning: Arc profiling: some edge counts were bad.
> page.c: In function `WriteAllPages':
> page.c:291: warning: Arc profiling: some edge counts were bad.
> page.c: At top level:
> page.c:291: warning: .da file contents exhausted too early
>
> queue.c: In function `InitReverse':
> queue.c:116: warning: Arc profiling: some edge counts were bad.
> queue.c: In function `qDisableRead':
> queue.c:519: warning: Arc profiling: some edge counts were bad.
> queue.c: At top level:
> queue.c:519: warning: .da file contents exhausted too early
>
> sidx.c:95: warning: .da file contents exhausted too early
>
> whr.c:127: warning: .da file contents exhausted too early
>
>
>