This is the mail archive of the gcc-patches@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]

Re: [PATCH] Make groups more generic (PR gcov-profile/84548).


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


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