OSDN Git Service

* dwarfout.c (output_block): Output abstract blocks even if they
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Mar 2000 00:02:33 +0000 (00:02 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Mar 2000 00:02:33 +0000 (00:02 +0000)
        don't have TREE_ASM_WRITTEN set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32271 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dwarfout.c

index 1868dbe..a325ef4 100644 (file)
@@ -1,5 +1,8 @@
 2000-02-29  Jason Merrill  <jason@casey.cygnus.com>
 
+       * dwarfout.c (output_block): Output abstract blocks even if they
+       don't have TREE_ASM_WRITTEN set.
+
        * calls.c (emit_library_call): Check for null REG.
 
 2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
index 08dc41c..153c684 100644 (file)
@@ -4623,7 +4623,8 @@ output_block (stmt, depth)
 
   /* Ignore blocks never really used to make RTL.  */
 
-  if (! stmt || ! TREE_USED (stmt) || !TREE_ASM_WRITTEN (stmt))
+  if (! stmt || ! TREE_USED (stmt)
+      || (!TREE_ASM_WRITTEN (stmt) && !BLOCK_ABSTRACT (stmt)))
     return;
 
   /* Determine the "ultimate origin" of this block.  This block may be an