From: Jason Merrill Date: Tue, 29 Feb 2000 08:30:48 +0000 (+0000) Subject: dwarf2out.c (gen_block_die): Output abstract blocks even if they don't have TREE_ASM_... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e7f092ab62ecb8a83aecbd16cf584f11bd01d0a;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5e983504387..e027e457a5d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-02-28 Jason Merrill + + * 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 * Eliminate DECL_FIELD_SIZE. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index aa1600aa7b1..c78c8275aae 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