diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2009-04-17 20:30:10 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2009-04-17 20:30:10 +0000 |
commit | 5b4c43d7d6e54a0e49213ea7a8a81af085a34bc9 (patch) | |
tree | 7385a95a993f6630e16b46680d8f0c287c12628b /gcc/dbxout.c | |
parent | b51605c41d1170c5e52f1a0abdd1a5a1fe4db3ed (diff) | |
download | gcc-5b4c43d7d6e54a0e49213ea7a8a81af085a34bc9.zip gcc-5b4c43d7d6e54a0e49213ea7a8a81af085a34bc9.tar.gz gcc-5b4c43d7d6e54a0e49213ea7a8a81af085a34bc9.tar.bz2 |
dbxout.c (dbxout_block): Reinstate test on TREE_USED.
* 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.
From-SVN: r146289
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 dc63c7c..2182d78 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); |