[Bug gcov-profile/86817] New: [8/9 Regression] Misleading warning in gcov since r254672
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 1 13:54:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86817
Bug ID: 86817
Summary: [8/9 Regression] Misleading warning in gcov since
r254672
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: marxin at gcc dot gnu.org
Target Milestone: ---
When gcov is run for 2 files one can see:
$ rm *.gc* ; gcc --coverage main.c && ./a.out && gcc --coverage main2.c &&
./a.out && gcov main.c main2.c
main2.gcno:'main' has arcs to entry block
main2.gcno:'main' has arcs from exit block
File 'main.c'
Lines executed:100.00% of 2
Creating 'main.c.gcov'
File 'main2.c'
Lines executed:100.00% of 2
Creating 'main2.c.gcov'
Which is obviously wrong.
More information about the Gcc-bugs
mailing list