[Bug c/12141] New: [GCOV] Should treat .h files exactly as .C files: should count usage per/file, not per .C module
yuri at tsoft dot com
gcc-bugzilla@gcc.gnu.org
Tue Sep 2 22:08:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12141
Summary: [GCOV] Should treat .h files exactly as .C files: should
count usage per/file, not per .C module
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: yuri at tsoft dot com
CC: gcc-bugs at gcc dot gnu dot org
We have large project, .h files included from many .C modules.
After gcov -l runs we have to merge numerous gcov files from
numerous .Cs corresponding to the same header.
I am sure that anyone who has many inline or other functions in .h
have same problem and has to write scripts to extract real coverage results
from gcov runs for headers.
Yuri
More information about the Gcc-bugs
mailing list