summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-live.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-17 20:30:10 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-17 20:30:10 +0000
commitb26d0c9e9244000d9d03a4684c177323ceb4fcc9 (patch)
tree7385a95a993f6630e16b46680d8f0c287c12628b /gcc/tree-ssa-live.c
parentaf4c7413dd85d20bbdac5944a4766c0b7576c8a3 (diff)
downloadgcc-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/tree-ssa-live.c')
-rw-r--r--gcc/tree-ssa-live.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-ssa-live.c b/gcc/tree-ssa-live.c
index fa247458e92..5f3b9d86cc5 100644
--- a/gcc/tree-ssa-live.c
+++ b/gcc/tree-ssa-live.c
@@ -595,6 +595,8 @@ remove_unused_scope_block_p (tree scope)
/* Verfify that only blocks with source location set
are entry points to the inlined functions. */
gcc_assert (BLOCK_SOURCE_LOCATION (scope) == UNKNOWN_LOCATION);
+
+ TREE_USED (scope) = !unused;
return unused;
}