https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64580
Bug ID: 64580 Summary: very high rs6000_stack_info() usage during LTO Firefox build on ppc64 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: segher at gcc dot gnu.org Host: powerpc64-unknown-linux-gnu Target: powerpc64-unknown-linux-gnu Build: powerpc64-unknown-linux-gnu "perf top" shows very high rs6000_stack_info() usage during final LTO link of libxul (Firefox) on ppc64, e.g.: 31.34% lto1 [.] rs6000_stack_info() rs6000_stack_info() rs6000_stack_info() rs6000_output_function_prologue(_IO_FILE*, long) final_start_function(rtx_insn*, _IO_FILE*, int) rs6000_output_mi_thunk(_IO_FILE*, tree_node*, long, long, tree_node*) cgraph_node::expand_thunk(bool, bool) cgraph_node::assemble_thunks_and_aliases() cgraph_node::assemble_thunks_and_aliases() cgraph_node::expand() symbol_table::compile() lto_main() compile_file() 1.36% cc1plus [.] _cpp_lex_token ... powerpc64-unknown-linux-gnu