aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorJason Merrill <jason@casey.cygnus.com>2000-02-29 08:30:48 +0000
committerJason Merrill <jason@gcc.gnu.org>2000-02-29 03:30:48 -0500
commit1e7f092ab62ecb8a83aecbd16cf584f11bd01d0a (patch)
tree1833dad9bc36767a4a2a29896bfa20a95b5ce372 /gcc/dwarf2out.c
parent73bb4fe42a7bc50629bb9eefecb9ca07563b645a (diff)
downloadgcc-1e7f092ab62ecb8a83aecbd16cf584f11bd01d0a.zip
gcc-1e7f092ab62ecb8a83aecbd16cf584f11bd01d0a.tar.gz
gcc-1e7f092ab62ecb8a83aecbd16cf584f11bd01d0a.tar.bz2
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
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c3
1 files changed, 2 insertions, 1 deletions
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