summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-copy.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-24 16:44:17 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-24 16:44:17 +0000
commit4392e9068342c7c15ad3367f39431f8393c6442e (patch)
tree5c77c1979d07ecb5e2c5b708bf2756a6c827b543 /gcc/tree-ssa-copy.c
parentce482fbb9f2c92a4e228c1d4970fb336167afb41 (diff)
downloadgcc-4392e9068342c7c15ad3367f39431f8393c6442e.tar.gz
* tree-ssa-live.c (remove_unused_scope_block_p): Remove set but
unused variable "ann". (remove_unused_locals): Likewise. * tree-ssa-copy.c (propagate_tree_value_into_stmt): Remove useless statement. * cfglayout.c (fixup_reorder_chain): Do not dereference E_FALL after it is freed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171408 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-copy.c')
-rw-r--r--gcc/tree-ssa-copy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c
index 88972750b04..8062c033697 100644
--- a/gcc/tree-ssa-copy.c
+++ b/gcc/tree-ssa-copy.c
@@ -244,7 +244,6 @@ propagate_tree_value_into_stmt (gimple_stmt_iterator *gsi, tree val)
expr = gimple_assign_rhs1 (stmt);
propagate_tree_value (&expr, val);
gimple_assign_set_rhs_from_tree (gsi, expr);
- stmt = gsi_stmt (*gsi);
}
else if (gimple_code (stmt) == GIMPLE_COND)
{