From 23cab40dba566b17e1d05157c33b78030cfc175a Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Tue, 6 Nov 2018 11:25:25 +0100 Subject: [PATCH] tree.c (free_lang_data): Reset overwite_assembler_name... * tree.c (free_lang_data): Reset overwite_assembler_name, print_xnode, print_decl, print_type and print_identifier of langhooks. From-SVN: r265834 --- gcc/ChangeLog | 6 ++++++ gcc/tree.c | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 95d2245..eb867d5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-11-06 Jan Hubicka + + * tree.c (free_lang_data): Reset overwite_assembler_name, + print_xnode, print_decl, print_type and print_identifier of + langhooks. + 2018-11-06 Richard Biener PR tree-optimization/87889 diff --git a/gcc/tree.c b/gcc/tree.c index f3e977f..15fc99d 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -6010,6 +6010,13 @@ free_lang_data (void) lang_hooks.dwarf_name = lhd_dwarf_name; lang_hooks.decl_printable_name = gimple_decl_printable_name; lang_hooks.gimplify_expr = lhd_gimplify_expr; + lang_hooks.overwrite_decl_assembler_name = lhd_overwrite_decl_assembler_name; + lang_hooks.print_xnode = lhd_print_tree_nothing; + lang_hooks.print_decl = lhd_print_tree_nothing; + lang_hooks.print_type = lhd_print_tree_nothing; + lang_hooks.print_identifier = lhd_print_tree_nothing; + + lang_hooks.tree_inlining.var_mod_type_p = hook_bool_tree_tree_false; /* We do not want the default decl_assembler_name implementation, rather if we have fixed everything we want a wrapper around it -- 2.7.4