This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gcov-profile/83266] [GCOV] A True if statement is wrongly marked as not executed in gcov


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]