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).
On 02/27/2018 02:01 PM, Nathan Sidwell wrote:
> 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'?
>
Thanks.
Fixed that and installed as r258033.
Martin