dwarf2out.c (gen_block_die): Output abstract blocks even if they don't have TREE_ASM_...
authorJason Merrill <jason@casey.cygnus.com>
Tue, 29 Feb 2000 08:30:48 +0000 (08:30 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 29 Feb 2000 08:30:48 +0000 (03:30 -0500)
        * dwarf2out.c (gen_block_die): Output abstract blocks even if they
        don't have TREE_ASM_WRITTEN set.

From-SVN: r32251

gcc/ChangeLog
gcc/dwarf2out.c

index 5e983504387b8ac0933157aadab1656ecf96f3da..e027e457a5dab8b6da27c20876c22b4a7061349d 100644 (file)
@@ -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.
index aa1600aa7b152be7e20fbba6c96abacad81ab557..c78c8275aaec4e320bb555ab2416403f7d273ce8 100644 (file)
@@ -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