summaryrefslogtreecommitdiff
path: root/gcc/dwarfout.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-01 00:02:33 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-01 00:02:33 +0000
commit7508c82b2fe43abe37aab9214e72bfb6e68605ae (patch)
tree9a3bffbd0152b1f3b95066ded5afe8224da66e02 /gcc/dwarfout.c
parentaa338504923c1f822f7a30b23c6161fa4acfd300 (diff)
downloadgcc-7508c82b2fe43abe37aab9214e72bfb6e68605ae.tar.gz
* dwarfout.c (output_block): Output abstract blocks even if they
don't have TREE_ASM_WRITTEN set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32271 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarfout.c')
-rw-r--r--gcc/dwarfout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c
index 08dc41cfdb7..153c684eb95 100644
--- a/gcc/dwarfout.c
+++ b/gcc/dwarfout.c
@@ -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