This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gcov-profile/78792] gfortran + gcov confused by #line directive


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]