aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@gcc.gnu.org>2014-09-04 18:04:14 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2014-09-04 18:04:14 +0000
commit9de41e5786e7b331c7bc283e3f09e47b5c942e8a (patch)
treea1475a4d1d9c293ad247466bba59dc257d5b9ce5 /gcc/tree.c
parentc5a36850156812b5d2d3f1401307315feef0aed5 (diff)
downloadgcc-9de41e5786e7b331c7bc283e3f09e47b5c942e8a.zip
gcc-9de41e5786e7b331c7bc283e3f09e47b5c942e8a.tar.gz
gcc-9de41e5786e7b331c7bc283e3f09e47b5c942e8a.tar.bz2
Revert incorrect merging of debug-early branch.
From-SVN: r214914
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index afc8e3d..d1d67ef 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -5032,10 +5032,6 @@ 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);
@@ -5634,7 +5630,8 @@ free_lang_data (void)
unsigned i;
/* If we are the LTO frontend we have freed lang-specific data already. */
- if (in_lto_p)
+ if (in_lto_p
+ || !flag_generate_lto)
return 0;
/* Allocate and assign alias sets to the standard integer types