tion, unexecuted blocks are
marked \fB$$$$$\fR or \fB%%%%%\fR, depending on whether a basic block
is reachable via non-exceptional or exceptional paths.
Executed basic blocks having a statement with zero \fIexecution_count\fR
end with \fB*\fR character and are colored with magenta color with \fB\-k\fR
option.  The functionality is not supported in Ada.
.PP
Note that \s-1GCC\s0 can completely remove the bodies of functions that are
not needed \*(-- for instance if they are inlined everywhere.  Such functions
are marked with \fB\-\fR, which can be confusing.
Use the \fB\-fkeep\-inline\-functions\fR and \fB\-fkeep\-static\-functions\fR
options to retain these functions and
allow gcov to properly show their \fIexecution_count\fR.
.PP
Some lines of information at the start have \fIline_number\fR of zero.
These preamble lines are of the form
.PP
.Vb 1
\&        \-:0:<tag>:<value>
.Ve
.PP
The ordering and number of these preamble lines will be augmented as
\&\fBgcov\fR development progresses \-\-\- do not rely on them remaining
unchanged.  Use \fItag\fR to locate a particular preamble line.
.PP
The additional block information is of the form
.PP
.Vb 1
\&        <tag> <information>
.Ve
.PP
The \fIinformation\fR is human readable, but designed to be simple
enough for machine parsing too.
.PP
When printing percentages, 0% and 100% are only printed when the values
are \fIexactly\fR 0% and 100% respectively.  Other values which would
conventionally be rounded to 0% or 100% are instead printed as the
nearest non-boundary value.
.PP
When using \fBgcov\fR, you must first compile your program with two
special \s-1GCC\s0 options: \fB\-fprofile\-arcs \-ftest\-coverage\fR.
This tells the compiler to generate additional information needed by
gcov (basically a flow graph of the program) and also includes
additional code in the object files for generating the extra profiling
information needed by gcov.  These additional files are placed in the
directory where the object file is located.
.PP
Running the program will cause profile output to be generated.  For each
source file compiled with \fB\-fprofile\-arcs\fR, an accompanying
\&\fI.gcda\fR file will be placed in the object file directory.
.PP
Running \fBgcov\fR with your program's source file names as arguments
will now produce a listing of the code along with frequency of execution
for each line.  For example, if your program is called \fItmp.cpp\fR, this
is what you see when you use the basic \fBgcov\fR facility:
.PP
.Vb 6
\&        $ g++ \-fprofile\-arcs \-ftest\-coverage tmp.cpp
\&        $ a.out
\&        $ gcov tmp.cpp \-m
\&        File \*(Aqtmp.cpp\*(Aq
\&        Lines executed:92.86% of 14
\&        Creating \*(Aqtmp.cpp.gcov\*(Aq
.Ve
.PP
The file \fItmp.cpp.gcov\fR contains output from \fBgcov\fR.
Here is a sample:
.PP
.Vb 10
\&                \-:    0:Source:tmp.cpp
\&                \-:    0:Graph:tmp.gcno
\&                \-:    0:Data:tmp.gcda
\&                \-:    0:Runs:1
\&                \-:    0:Programs:1
\&                \-:    1:#include <stdio.h>
\&           