diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/tree-ssa-phiopt.c | 2 |
2 files changed, 3 insertions, 2 deletions
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 <HutchinsonAndy@netscape.net> 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) |