aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dwarf2out.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5e98350..e027e45 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2000-02-28 Jason Merrill <jason@casey.cygnus.com>
+
+ * dwarf2out.c (gen_block_die): Output abstract blocks even if they
+ don't have TREE_ASM_WRITTEN set.
+
Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* Eliminate DECL_FIELD_SIZE.
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index aa1600a..c78c827 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -9149,7 +9149,8 @@ gen_block_die (stmt, context_die, depth)
/* Ignore blocks never really used to make RTL. */
- if (stmt == NULL_TREE || !TREE_USED (stmt) || !TREE_ASM_WRITTEN (stmt))
+ if (stmt == NULL_TREE || !TREE_USED (stmt)
+ || (!TREE_ASM_WRITTEN (stmt) && !BLOCK_ABSTRACT (stmt)))
return;
/* Determine the "ultimate origin" of this block. This block may be an