https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69075

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Ick - re-gimplification hits C++ FE hooks...

We should really do parts of

  /* Reset some langhooks.  Do not reset types_compatible_p, it may
     still be used indirectly via the get_alias_set langhook.  */
  lang_hooks.dwarf_name = lhd_dwarf_name;
  lang_hooks.decl_printable_name = gimple_decl_printable_name;
  lang_hooks.gimplify_expr = lhd_gimplify_expr;

unconditionally (not on LTO) in free_lang_data.

Eventually the gimplify hook even earlier at the start of finalize_CU.

Reply via email to