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: gcov: new option to merge results



On Jun 12, 2007, at 4:18 PM, Nathan Sidwell wrote:
Is there a reason the above loop cannot simply be:
	function_t *orig_functions = functions;
	...
	for (fn = functions; fn != orig_functions; fn->next)
	solve_flow_graph (fn)

?

Sorry, I spoke too quickly. Before calling read_count_file(), the functions list must be cut: only functions to the local file must be on the list.
read_count_file() search function ident in functions list but the idents are uniq only in a gcda/gcno.


Tristan.


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