diff options
Diffstat (limited to 'gcc/dwarfout.c')
-rw-r--r-- | gcc/dwarfout.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c index 08dc41c..153c684 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 |