dwarf2out.c (gen_block_die): Output abstract blocks even if they don't have TREE_ASM_WRITTEN set.

* dwarf2out.c (gen_block_die): Output abstract blocks even if they
        don't have TREE_ASM_WRITTEN set.

From-SVN: r32251
This commit is contained in:
Jason Merrill 2000-02-29 08:30:48 +00:00 committed by Jason Merrill
parent 73bb4fe42a
commit 1e7f092ab6
2 changed files with 7 additions and 1 deletions

View 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.

View 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