diff options
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index e5292d4b314..2598ced1128 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -83,6 +83,7 @@ along with GCC; see the file COPYING3. If not see #include "edit-context.h" #include "tree-pass.h" #include "dumpfile.h" +#include "ipa-fnsummary.h" #if defined(DBX_DEBUGGING_INFO) || defined(XCOFF_DEBUGGING_INFO) #include "dbxout.h" @@ -524,10 +525,9 @@ compile_file (void) /* Do dbx symbols. */ timevar_push (TV_SYMOUT); - #if defined DWARF2_DEBUGGING_INFO || defined DWARF2_UNWIND_INFO - if (dwarf2out_do_frame ()) - dwarf2out_frame_finish (); - #endif +#if defined DWARF2_DEBUGGING_INFO || defined DWARF2_UNWIND_INFO + dwarf2out_frame_finish (); +#endif (*debug_hooks->finish) (main_input_filename); timevar_pop (TV_SYMOUT); @@ -2249,6 +2249,7 @@ toplev::finalize (void) /* Needs to be called before cgraph_c_finalize since it uses symtab. */ ipa_reference_c_finalize (); + ipa_fnsummary_c_finalize (); cgraph_c_finalize (); cgraphunit_c_finalize (); |