https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85238
--- Comment #15 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > I think we do need to run dwarf2out_early_finish for the FAT part > of the object file so please move this to dwarf2out_early_finish, > like for example with But then we also need the first kludge in the back-end, otherwise we ICE: during IPA pass: fnsummary t.c:6:1: internal compiler error: in dwarf2out_die_ref_for_decl, at dwarf2out.c:5854