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

--- Comment #2 from Yibiao Yang <yangyibiao at nju dot edu.cn> ---

> 
> $ gcc -fprofile-arcs -ftes-coverage small.c; ./a.out; gcov small.c; cat
> small.c.gcov

The correct command should be: 

$ gcc -fprofile-arcs -ftest-coverage small.c; ./a.out; gcov small.c; cat
small.c.gcov

Reply via email to