This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug gcov-profile/35568] New: missing gcov data spoils other files.
- From: "ratmice at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Mar 2008 14:44:36 -0000
- Subject: [Bug gcov-profile/35568] New: missing gcov data spoils other files.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gcc version 4.3.0 20080307 (Red Hat 4.3.0-2) (GCC)
$ cat foo.sh
#!/bin/sh
cat >gcov_test.c <<EOF
int main()
{
return 0;
}
EOF
gcc gcov_test.c -o gcov_test -fprofile-arcs -ftest-coverage
./gcov_test
gcov *.c
touch unused.c
gcov *.c
$ sh foo.sh
File 'gcov_test.c'
Lines executed:100.00% of 2
gcov_test.c:creating 'gcov_test.c.gcov'
unused.gcno:cannot open graph file
File 'gcov_test.c'
No executable lines
gcov_test.c:creating 'gcov_test.c.gcov'
--
Summary: missing gcov data spoils other files.
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ratmice at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35568