aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2009-02-23 14:10:53 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2009-02-23 13:10:53 +0000
commit61e043223d29e848f24fa5ca8aaeb968e341d6c6 (patch)
treed5fc8eef4ee0352c6b6283866a64b8d5d9ec3bde /gcc/dbxout.c
parent791c5e482115ebb266ca3c97881b7ea10f267521 (diff)
downloadgcc-61e043223d29e848f24fa5ca8aaeb968e341d6c6.zip
gcc-61e043223d29e848f24fa5ca8aaeb968e341d6c6.tar.gz
gcc-61e043223d29e848f24fa5ca8aaeb968e341d6c6.tar.bz2
re PR tree-optimization/37709 (inlining causes explosion in debug info)
PR tree-optimization/37709 * tree.c (block_ultimate_origin): Move here from dwarf2out. * tree.h (block_ultimate_origin): Declare. * dwarf2out.c (block_ultimate_origin): Move to tree.c * tree-ssa-live.c (remove_unused_scope_block_p): Eliminate blocks containig no instructions nor live variables nor nested blocks. (dump_scope_block): New function. (remove_unused_locals): Enable removal of dead blocks by default; enable dumping at TDF_DETAILS. From-SVN: r144381
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index f4a2792..6cfa55f 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -3593,7 +3593,7 @@ dbxout_block (tree block, int depth, tree args)
while (block)
{
/* Ignore blocks never expanded or otherwise marked as real. */
- if (TREE_USED (block) && TREE_ASM_WRITTEN (block))
+ if (TREE_ASM_WRITTEN (block))
{
int did_output;
int blocknum = BLOCK_NUMBER (block);