diff options
Diffstat (limited to 'gcc/tree-profile.c')
-rw-r--r-- | gcc/tree-profile.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree-profile.c b/gcc/tree-profile.c index 9d91906..f96bd4b 100644 --- a/gcc/tree-profile.c +++ b/gcc/tree-profile.c @@ -52,6 +52,7 @@ along with GCC; see the file COPYING3. If not see #include "params.h" #include "stringpool.h" #include "attribs.h" +#include "tree-pretty-print.h" static GTY(()) tree gcov_type_node; static GTY(()) tree tree_interval_profiler_fn; @@ -671,6 +672,9 @@ tree_profiling (void) push_cfun (DECL_STRUCT_FUNCTION (node->decl)); + if (dump_file) + dump_function_header (dump_file, cfun->decl, dump_flags); + /* Local pure-const may imply need to fixup the cfg. */ if (execute_fixup_cfg () & TODO_cleanup_cfg) cleanup_tree_cfg (); |