https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71089
--- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- (In reply to Jan Hubicka from comment #5) > Hi, > I reproduced the firefox ICE now (it needs -O3 instead of default flags). I > am testing > the following patch which fixes some confusion between thunk and non-thunk > inline clones > (there can be both, because we can first inline thunk, then inline into > thunk and then > inline the whole thing again) The segfault is gone, but I still see the ICE: lto1: internal compiler error: in lto_output_node, at lto-cgraph.c:473 0x10594813 lto_output_node ../../gcc/gcc/lto-cgraph.c:473 0x10594813 output_symtab() ../../gcc/gcc/lto-cgraph.c:1021 0x105acb6f lto_output() ../../gcc/gcc/lto-streamer-out.c:2386 0x106365db write_lto ../../gcc/gcc/passes.c:2452 0x1063be17 ipa_write_optimization_summaries(lto_symtab_encoder_d*) ../../gcc/gcc/passes.c:2656 0x1017d743 do_stream_out ../../gcc/gcc/lto/lto.c:2294 0x1018c88b stream_out ../../gcc/gcc/lto/lto.c:2358 0x1018c88b lto_wpa_write_files ../../gcc/gcc/lto/lto.c:2475 0x1018c88b do_whole_program_analysis ../../gcc/gcc/lto/lto.c:3157 0x1018c88b lto_main() ../../gcc/gcc/lto/lto.c:3317