[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#535755: /usr/bin/gcov-4.3: gcov produces wrong answers when given more than one source file



On 04.07.2009 20:58, Norman Ramsey wrote:
Package: gcc-4.3
Version: 4.3.2-1.1
Severity: important
File: /usr/bin/gcov-4.3

The gcov man page reports that one can give gcov multiple source files
at one invocation.  This does not work:

    gcov -o BUILD-Linux-i686--coverage ../src/*.c

reports that most source files contain 'No executable lines'.
Whereas

   for i in ../src/*.c; do gcov -o BUILD-Linux-i686--coverage $i; done

produced sensible answers.

This is probably a problem for upstream, but an immediate fix would be
to alter the man page to warn users that they can give only one source
file at a time.

please could you recheck with gcc-4.4 (unstable), gcc-4.5 (experimental), gcc-snapshot (unstable)?



Reply to: