This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12138] New: [GCOV] Should treat .h files exactly as .C files: should count usage per/file, not per .C module
- From: "yuri at tsoft dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2003 20:13:47 -0000
- Subject: [Bug c/12138] New: [GCOV] Should treat .h files exactly as .C files: should count usage per/file, not per .C module
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12138
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