diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-17 20:30:10 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-17 20:30:10 +0000 |
commit | b26d0c9e9244000d9d03a4684c177323ceb4fcc9 (patch) | |
tree | 7385a95a993f6630e16b46680d8f0c287c12628b /gcc/dbxout.c | |
parent | af4c7413dd85d20bbdac5944a4766c0b7576c8a3 (diff) | |
download | gcc-b26d0c9e9244000d9d03a4684c177323ceb4fcc9.tar.gz |
* dbxout.c (dbxout_block): Reinstate test on TREE_USED.
* tree-ssa-live.c (remove_unused_scope_block_p): Update TREE_USED bit. * dbxout.c (dbxout_block): Reinstate test on TREE_USED.
* tree-ssa-live.c (remove_unused_scope_block_p): Update TREE_USED bit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146289 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 dc63c7c80c4..2182d78c203 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -3594,7 +3594,7 @@ dbxout_block (tree block, int depth, tree args) while (block) { /* Ignore blocks never expanded or otherwise marked as real. */ - if (TREE_ASM_WRITTEN (block)) + if (TREE_USED (block) && TREE_ASM_WRITTEN (block)) { int did_output; int blocknum = BLOCK_NUMBER (block); |