[Bug gcov-profile/78792] gfortran + gcov confused by #line directive
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 20 11:58:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78792
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-12-20
CC| |marxin at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Ok, I can confirm that line directives are accepted, however gcov does not
respect filename of the directives.
Second issue is that calling gcov example.in, actually loads example.gcno file,
where it's written that it's note file for example.f90 (compiled file). Maybe
we can show error message when an argument of gcov does not reflect to a file
mentioned in the note file.
Anyhow, I'm planning to discuss that with Honza and return to that for GCC 8.
More information about the Gcc-bugs
mailing list