https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91794
--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > So I guess an appropriate cleanup would be to pass a struct function > to dwarf2out_do_eh_frame but also deal with it being NULL? You need to ask Jan, my fix for 81351 was minimal and based on his insight.