From: Aldy Hernandez Date: Thu, 4 Sep 2014 18:08:42 +0000 (+0000) Subject: Merge remote-tracking branch 'origin/aldyh/debug-early' into debug-early X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=60081a2b5915f34e32060e1712d3613f9976ca12;p=gcc.git Merge remote-tracking branch 'origin/aldyh/debug-early' into debug-early Conflicts: gcc/ChangeLog.debug-early gcc/dwarf2out.c From-SVN: r214915 --- diff --git a/gcc/tree.c b/gcc/tree.c index d1d67efa629..7fae10efc45 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -5032,6 +5032,10 @@ free_lang_data_in_decl (tree decl) { gcc_assert (DECL_P (decl)); + /* Early dumping of DECLs before we lose language data. */ + if (debug_info_level > DINFO_LEVEL_NONE) + dwarf2out_early_decl (decl); + /* Give the FE a chance to remove its own data first. */ lang_hooks.free_lang_data (decl);