diff options
author | Jan Hubicka <jh@suse.cz> | 2010-06-22 14:24:17 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2010-06-22 12:24:17 +0000 |
commit | 0d6a035dc026bb1594eb87c8af736cc0254eac8e (patch) | |
tree | 56c66d459e7f08e185049f528aa664734615bca2 /gcc/passes.c | |
parent | 80c3be7a574e2cfeb89eb9d3efd925c92a551607 (diff) | |
download | gcc-0d6a035dc026bb1594eb87c8af736cc0254eac8e.zip gcc-0d6a035dc026bb1594eb87c8af736cc0254eac8e.tar.gz gcc-0d6a035dc026bb1594eb87c8af736cc0254eac8e.tar.bz2 |
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
Diffstat (limited to 'gcc/passes.c')
-rw-r--r-- | gcc/passes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index 3c295a0..c58a300a 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -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 |