https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350
--- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So ipa-free-lang-data calls assign_assembler_name_if_needed which calls need_assembler_name_p which does the check on if the assembler name is needed before doing the freeing of front-end specific. So that is a place to start debugging this.