https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106090

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
> do_it() is indeed called 4 times,but I wonder how the coverage statistiscs
> of the for-statement is calculated. It doesn't become 5 untill the
> for-stamentment is completed.

We count a line every time there exists a jump from a different line that jumps
to the line.
Thus for `for(;;)` there are no statements we should jump to.

Reply via email to