[Bug gcov-profile/35568] New: missing gcov data spoils other files.
ratmice at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Mar 13 14:45:00 GMT 2008
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
More information about the Gcc-bugs
mailing list