diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-02-23 13:10:53 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-02-23 13:10:53 +0000 |
commit | 362676499c08b5b814947261088c1a614984efb1 (patch) | |
tree | d5fc8eef4ee0352c6b6283866a64b8d5d9ec3bde /gcc/dbxout.c | |
parent | 47863d1acad7e104874b244272cb69ba0ac7b839 (diff) | |
download | gcc-362676499c08b5b814947261088c1a614984efb1.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144381 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index f4a2792bc93..6cfa55f9328 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); |