This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Make groups more generic (PR gcov-profile/84548).
- From: Nathan Sidwell <nathan at acm dot org>
- To: Martin Liška <mliska at suse dot cz>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 27 Feb 2018 08:01:44 -0500
- Subject: Re: [PATCH] Make groups more generic (PR gcov-profile/84548).
- Authentication-results: sourceware.org; auth=none
- References: <62ab3cdf-6093-fbde-4e9d-90a092e2e4b1@suse.cz>
On 02/27/2018 07:45 AM, Martin Liška wrote:
Hi.
Considering following C++ code snippet:
gcc/ChangeLog:
2018-02-26 Martin Liska <mliska@suse.cz>
PR gcov-profile/84548
* gcov.c (process_file): Allow partial overlap and consider it
also as group functions.
(output_lines): Properly calculate range of lines for a group.
Ok, but fix comment:
+ /* It's possible to have function that partially overlap,
pluralize 'function'
+ thus take the maximum end_line of got functions. */
'got functions'?
--
Nathan Sidwell