From: Kazu Hirata Date: Sun, 13 Mar 2005 15:58:31 +0000 (+0000) Subject: tree-ssa-phiopt.c (value_replacement): Remove local variable result. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92c54d2c4e98cddf1b357014473870a00738882d;p=gcc.git tree-ssa-phiopt.c (value_replacement): Remove local variable result. * tree-ssa-phiopt.c (value_replacement): Remove local variable result. From-SVN: r96376 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 73e8079ba35..1a9614f6334 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -28,6 +28,9 @@ * tree-ssa-live.c (build_tree_conflict_graph): Remove local variable ann. + * tree-ssa-phiopt.c (value_replacement): Remove local variable + result. + 2005-03-13 Andy Hutchinson PR target/18251 diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c index 42e3bde8281..6943c1732c1 100644 --- a/gcc/tree-ssa-phiopt.c +++ b/gcc/tree-ssa-phiopt.c @@ -415,7 +415,6 @@ value_replacement (basic_block cond_bb, basic_block middle_bb, basic_block phi_bb, edge e0, edge e1, tree phi, tree arg0, tree arg1) { - tree result; tree cond; edge true_edge, false_edge; @@ -428,7 +427,6 @@ value_replacement (basic_block cond_bb, basic_block middle_bb, return false; cond = COND_EXPR_COND (last_stmt (cond_bb)); - result = PHI_RESULT (phi); /* This transformation is only valid for equality comparisons. */ if (TREE_CODE (cond) != NE_EXPR && TREE_CODE (cond) != EQ_EXPR)