Commit 0d6a035d by Jan Hubicka Committed by Jan Hubicka

passes.c (execute_function_todo): Move call of statistics_fini_pass to ...

	* passes.c (execute_function_todo): Move call of statistics_fini_pass
	to ...
	(execute_todo) ... this one.

From-SVN: r161168
parent 80c3be7a
2010-06-22 Jan Hubicka <jh@suse.cz>
* passes.c (execute_function_todo): Move call of statistics_fini_pass
to ...
(execute_todo) ... this one.
2010-06-22 Alan Modra <amodra@gmail.com>
PR target/44364
......
......@@ -1175,8 +1175,6 @@ execute_function_todo (void *data)
if (!flags)
return;
statistics_fini_pass ();
/* Always cleanup the CFG before trying to update SSA. */
if (flags & TODO_cleanup_cfg)
{
......@@ -1288,6 +1286,8 @@ execute_todo (unsigned int flags)
/* Inform the pass whether it is the first time it is run. */
first_pass_instance = (flags & TODO_mark_first_instance) != 0;
statistics_fini_pass ();
do_per_function (execute_function_todo, (void *)(size_t) flags);
/* Always remove functions just as before inlining: IPA passes might be
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment