diff options
author | Jason Merrill <jason@casey.cygnus.com> | 2000-03-01 00:02:33 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-02-29 19:02:33 -0500 |
commit | bad8ed14a48b58f3b29e7d88a4a3ae1c5af7906e (patch) | |
tree | 9a3bffbd0152b1f3b95066ded5afe8224da66e02 /gcc | |
parent | 19e3f61a82b5fa0fef88527c9026f864c2b76b5d (diff) | |
download | gcc-bad8ed14a48b58f3b29e7d88a4a3ae1c5af7906e.zip gcc-bad8ed14a48b58f3b29e7d88a4a3ae1c5af7906e.tar.gz gcc-bad8ed14a48b58f3b29e7d88a4a3ae1c5af7906e.tar.bz2 |
dwarfout.c (output_block): Output abstract blocks even if they don't have TREE_ASM_WRITTEN set.
* dwarfout.c (output_block): Output abstract blocks even if they
don't have TREE_ASM_WRITTEN set.
From-SVN: r32271
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/dwarfout.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1868dbe..a325ef4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2000-02-29 Jason Merrill <jason@casey.cygnus.com> + * dwarfout.c (output_block): Output abstract blocks even if they + don't have TREE_ASM_WRITTEN set. + * calls.c (emit_library_call): Check for null REG. 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de> 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 |