This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug gcov-profile/79891] Wrong count of line coverage in case of gcov -a
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 Mar 2017 13:03:31 +0000
- Subject: [Bug gcov-profile/79891] Wrong count of line coverage in case of gcov -a
- Auto-submitted: auto-generated
- References: <bug-79891-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79891
--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to rguenther@suse.de from comment #7)
> On Fri, 10 Mar 2017, marxin at gcc dot gnu.org wrote:
>
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79891
> >
> > --- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
> > Yes, the merged is the issue, but looks it's created at the very beginning:
>
> No, the merged block isn't the issue, the issue is in coverage computation
> (or where it associates the bogus source line to the BB).
I see, that should be fixable, the merger should not belong to any line in
source file. I'll fix that.