warning: Arc profiling: some edge counts were bad.

Janis Johnson janis187@us.ibm.com
Fri Nov 2 07:20:00 GMT 2001


On Tue, Nov 13, 2001 at 01:32:30PM -0500, nbecker@fred.net wrote:
> What does this mean?  Every (most?) times I compile with
> -fprofile-arcs and -fbranch-probabilities, I see this message:
> 
> warning: Arc profiling: some edge 
>    counts were bad.
> 
> Should I worry?

Yes, most likely.  Make sure that you compile with the same set of
optimization and code generation options for both builds; otherwise
the arcs that were profiled don't match the arcs that use the
profile data.

Janis



More information about the Gcc mailing list