diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-01 00:02:33 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-01 00:02:33 +0000 |
commit | 7508c82b2fe43abe37aab9214e72bfb6e68605ae (patch) | |
tree | 9a3bffbd0152b1f3b95066ded5afe8224da66e02 /gcc/dwarfout.c | |
parent | aa338504923c1f822f7a30b23c6161fa4acfd300 (diff) | |
download | gcc-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.c | 3 |
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 |