diff options
author | Jason Merrill <jason@casey.cygnus.com> | 2000-02-29 08:30:48 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-02-29 03:30:48 -0500 |
commit | 1e7f092ab62ecb8a83aecbd16cf584f11bd01d0a (patch) | |
tree | 1833dad9bc36767a4a2a29896bfa20a95b5ce372 /gcc | |
parent | 73bb4fe42a7bc50629bb9eefecb9ca07563b645a (diff) | |
download | gcc-1e7f092ab62ecb8a83aecbd16cf584f11bd01d0a.zip gcc-1e7f092ab62ecb8a83aecbd16cf584f11bd01d0a.tar.gz gcc-1e7f092ab62ecb8a83aecbd16cf584f11bd01d0a.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5e98350..e027e45 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-02-28 Jason Merrill <jason@casey.cygnus.com> + + * 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 <kenner@vlsi1.ultra.nyu.edu> * Eliminate DECL_FIELD_SIZE. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index aa1600a..c78c827 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 |