aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1996-10-15 23:09:24 +0000
committerJason Merrill <merrill@gnu.org>1996-10-15 23:09:24 +0000
commit03f0080698eaee3275b1e8c805ced10889ed7674 (patch)
tree4e7f879eb5658b321870c38e02e102f2d00589a5
parenta7a4457e29fc6ba350a52c5ebf350526e44d60b7 (diff)
downloadgcc-03f0080698eaee3275b1e8c805ced10889ed7674.zip
gcc-03f0080698eaee3275b1e8c805ced10889ed7674.tar.gz
gcc-03f0080698eaee3275b1e8c805ced10889ed7674.tar.bz2
dwarf
From-SVN: r12966
-rw-r--r--gcc/toplev.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 81c14bf..b080e19 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -2520,7 +2520,6 @@ compile_file (name)
and definitions which have not yet been forced out. */
if (write_symbols == DWARF_DEBUG
- && (TREE_CODE (decl) != VAR_DECL || DECL_RTL (decl) != 0)
&& (TREE_CODE (decl) != FUNCTION_DECL || !DECL_INITIAL (decl)))
TIMEVAR (symout_time, dwarfout_file_scope_decl (decl, 1));
#endif
@@ -2753,12 +2752,11 @@ rest_of_type_compilation (type, toplev)
TIMEVAR (symout_time, sdbout_symbol (TYPE_STUB_DECL (type), !toplev));
#endif
#ifdef DWARF_DEBUGGING_INFO
- /* If this is a file-scope or function-scope type, or a class-scope type
+ /* If this is a file-scope type or a class-scope type
for which the containing class has already been completed, write it
out now to avoid ordering headaches with member functions. */
if (write_symbols == DWARF_DEBUG
&& (TYPE_CONTEXT (type) == NULL_TREE
- || TREE_CODE_CLASS (TREE_CODE (TYPE_CONTEXT (type))) != 't'
|| TREE_ASM_WRITTEN (TYPE_CONTEXT (type))))
TIMEVAR (symout_time, dwarfout_file_scope_decl (TYPE_STUB_DECL (type), 0));
#endif