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

--- Comment #6 from Yang Wang <njuwy at smail dot nju.edu.cn> ---
(In reply to Martin Liška from comment #4)
> > 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.

Thanks for your confirmation! I will continue to track the progress of open
bugs.

Reply via email to